Skip to content

Commit

Permalink
Fix password argument incompatibiltity with previous version
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <zyl.skysniper@gmail.com>
  • Loading branch information
yilunzhang committed Jun 21, 2022
1 parent 7cf5df1 commit a265a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nknd/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func init() {
rootCmd.CompletionOptions.DisableDefaultCmd = true
rootCmd.Flags().BoolVarP(&createMode, "create", "c", false, "Create Mode")
rootCmd.Flags().StringVar(&config.SeedList, "seed", "", "Seed node address to join, multiple seeds should be split by comma")
rootCmd.Flags().StringVar(&password.Passwd, "passwd", "", "Password of Your wallet private Key")
rootCmd.Flags().StringVarP(&password.Passwd, "passwd", "p", "", "Password of Your wallet private Key")
rootCmd.Flags().BoolVar(&config.SkipNAT, "no-nat", false, "Skip NAT traversal for UPnP and NAT-PMP")
rootCmd.Flags().BoolVar(&config.Debug, "debug", false, "Provide runtime profiling data of NKN")
rootCmd.Flags().StringVar(&config.StatePruningMode, "pruning", "", "state pruning mode: none, lowmem")
Expand Down

0 comments on commit a265a26

Please sign in to comment.