CodeChain-io/codechain-keystore-cli

Show common parameters in each sub command's help message

majecty opened this issue · 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.