From f47c25e221b0693ebabe4ffd6d8d122ed67b064c Mon Sep 17 00:00:00 2001 From: zhangwm404 <442798+zhangwm404@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:55:20 +0800 Subject: [PATCH] fix typo --- cmd/bootstrapnode.go | 2 +- cmd/fullnode.go | 2 +- cmd/lightnode.go | 2 +- cmd/relaynode.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/bootstrapnode.go b/cmd/bootstrapnode.go index a9d6c13c..2fa3d167 100644 --- a/cmd/bootstrapnode.go +++ b/cmd/bootstrapnode.go @@ -74,7 +74,7 @@ func init() { flags.String("keystoredir", "./keystore/", "keystore dir") flags.String("keystorename", "default", "keystore name") - flags.String("keystorepass", "", "keystore password") + flags.String("keystorepwd", "", "keystore password") flags.String("configdir", "./config/", "config and keys dir") flags.String("datadir", "./data/", "data dir") flags.StringSlice("listen", nil, "Adds a multiaddress to the listen list, e.g.: --listen /ip4/127.0.0.1/tcp/4215 --listen /ip/127.0.0.1/tcp/5215/ws") diff --git a/cmd/fullnode.go b/cmd/fullnode.go index fe4bf81a..93ae48b6 100644 --- a/cmd/fullnode.go +++ b/cmd/fullnode.go @@ -84,7 +84,7 @@ func init() { flags.String("datadir", "./data/", "data dir") flags.String("keystoredir", "./keystore/", "keystore dir") flags.String("keystorename", "default", "keystore name") - flags.String("keystorepass", "", "keystore password") + flags.String("keystorepwd", "", "keystore password") flags.StringSlice("listen", nil, "Adds a multiaddress to the listen list, e.g.: --listen /ip4/127.0.0.1/tcp/4215 --listen /ip4/127.0.0.1/tcp/5215/ws") flags.String("apihost", "localhost", "Domain or public ip addresses for api server") flags.Uint("apiport", 5215, "api server listen port") diff --git a/cmd/lightnode.go b/cmd/lightnode.go index 67cba10a..4e69e07a 100644 --- a/cmd/lightnode.go +++ b/cmd/lightnode.go @@ -55,7 +55,7 @@ func init() { flags.String("datadir", "./data/", "config dir") flags.String("keystoredir", "./keystore/", "keystore dir") flags.String("keystorename", "defaultkeystore", "keystore name") - flags.String("keystorepass", "", "keystore password") + flags.String("keystorepwd", "", "keystore password") flags.String("apihost", "", "Domain or public ip addresses for api server") flags.Int("apiport", 5215, "api server listen port") flags.String("jsontracer", "", "output tracer data to a json file") diff --git a/cmd/relaynode.go b/cmd/relaynode.go index c82df7f9..f9de25e3 100644 --- a/cmd/relaynode.go +++ b/cmd/relaynode.go @@ -73,7 +73,7 @@ func init() { flags.String("configdir", "./config/", "config and keys dir") flags.String("keystoredir", "./keystore/", "keystore dir") flags.String("keystorename", "defaultkeystore", "keystore name") - flags.String("keystorepass", "", "keystore password") + flags.String("keystorepwd", "", "keystore password") flags.Bool("debug", false, "show debug log") if err := rnodeViper.BindPFlags(flags); err != nil {