codechain-keystore-cli icon indicating copy to clipboard operation
codechain-keystore-cli copied to clipboard

Show common parameters in each sub command's help message

Open majecty opened this issue 7 years ago • 0 comments

Below is printed result from cckey create --help

  Usage: create [options]

  create a new key

  Options:

    -p, --passphrase <passphrase>  passphrase
    -h, --help                     output usage information

The help message does not describe common parameters, like --account-type, --keys-path, and --network-id`. A user may confuse how she/he set an account type or network id. We should show common parameters in subcommand's help message.

majecty avatar Sep 19 '18 11:09 majecty