Better display for help command
Created by: M5oul
With duniter -h
the alignment is not well done, so we can miss [diff]
option for instance:
Commands:
start Start Duniter server.
webwait Start Duniter web admin.
webstart Start Duniter web admin + immediately start the server.
wizard [step] Launch the configuration Wizard
sync [host] [port] [to] Synchronize blockchain from a remote Duniter node
peer [host] [port] Exchange peerings with another node
init [host] [port] Setup a node configuration and sync data with given node
dump [what] Diverse dumps of the inner data
forward [host] [port] [to] Forward local blockchain to a remote Duniter node
revert [count] Revert (undo + remove) the top [count] blocks from the blockchain. EXPERIMENTAL
revert-to [number] Revert (undo + remove) top blockchain blocks until block #[number] is reached. EXPERIMENTAL
gen-next [host] [port] [diff] Tries to generate the next block of the blockchain
gen-root [host] [port] [diff] Tries to generate root block, with choice of root members
export-bc [upto] Exports the whole blockchain as JSON array, up to [upto] block number (excluded).
check-config Checks the node's configuration
config Register configuration in database
reset [config|data|peers|tx|stats|all] Reset configuration, data, peers, transactions or everything in the database
It would be great to have a blank vertical line splitting cmds + opts and descriptions.