From b402f5009e1b62a12e7fb111240a225c8e639e2a Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Fri, 28 May 2021 16:11:19 +0300 Subject: [PATCH] *: add short name for key parameter Signed-off-by: Angira Kekteeva --- settings.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/settings.go b/settings.go index 4642cb0..21de46e 100644 --- a/settings.go +++ b/settings.go @@ -104,8 +104,7 @@ func settings() *viper.Viper { help := flags.BoolP(cmdHelp, "h", false, "show help") 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.Duration(cfgConTimeout, defaultConnectTimeout, "gRPC connect timeout") flags.Duration(cfgReqTimeout, defaultRequestTimeout, "gRPC request timeout")