Merge pull request #50 from masterSplinter01/fix-key-param
Add short name for key parameter
This commit is contained in:
commit
b2cd6d8862
1 changed files with 1 additions and 2 deletions
|
@ -104,8 +104,7 @@ func settings() *viper.Viper {
|
||||||
help := flags.BoolP(cmdHelp, "h", false, "show help")
|
help := flags.BoolP(cmdHelp, "h", false, "show help")
|
||||||
version := flags.BoolP(cmdVersion, "v", false, "show version")
|
version := flags.BoolP(cmdVersion, "v", false, "show version")
|
||||||
|
|
||||||
flags.String(cmdNeoFSKey, "", `path to private key file, hex string or wif (autogenerated key will be used if not specified)`)
|
flags.StringP(cmdNeoFSKey, "k", "", `path to private key file, hex string or wif (autogenerated key will be used if not specified)`)
|
||||||
|
|
||||||
flags.Bool(cmdVerbose, false, "debug gRPC connections")
|
flags.Bool(cmdVerbose, false, "debug gRPC connections")
|
||||||
flags.Duration(cfgConTimeout, defaultConnectTimeout, "gRPC connect timeout")
|
flags.Duration(cfgConTimeout, defaultConnectTimeout, "gRPC connect timeout")
|
||||||
flags.Duration(cfgReqTimeout, defaultRequestTimeout, "gRPC request timeout")
|
flags.Duration(cfgReqTimeout, defaultRequestTimeout, "gRPC request timeout")
|
||||||
|
|
Loading…
Reference in a new issue