app: add support for ephemeral keys

This commit is contained in:
Roman Khimov 2021-04-14 22:57:58 +03:00 committed by Roman Khimov
parent 1156223231
commit c06a3137e5
4 changed files with 36 additions and 3 deletions

View file

@ -104,7 +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`)
flags.String(cmdNeoFSKey, "", `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")