forked from TrueCloudLab/frostfs-http-gw
*: add short name for key parameter
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
parent
8777d9695c
commit
b402f5009e
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