node/cmd: default to guardian set index 1
This prevents the field from being omitted due to defaulty-ness. Change-Id: Iae6d3887edf2b10dd2dfcd73b4f53120633fe02e
This commit is contained in:
parent
5d9fd42268
commit
7bd5643c0c
|
@ -35,7 +35,7 @@ func init() {
|
||||||
moduleFlagSet := pflag.NewFlagSet("module", pflag.ExitOnError)
|
moduleFlagSet := pflag.NewFlagSet("module", pflag.ExitOnError)
|
||||||
module = moduleFlagSet.String("module", "", "Module name")
|
module = moduleFlagSet.String("module", "", "Module name")
|
||||||
|
|
||||||
templateGuardianIndex = TemplateCmd.PersistentFlags().Int("idx", 0, "Default current guardian set index")
|
templateGuardianIndex = TemplateCmd.PersistentFlags().Int("idx", 1, "Default current guardian set index")
|
||||||
|
|
||||||
setUpdateNumGuardians = AdminClientGuardianSetTemplateCmd.Flags().Int("num", 1, "Number of devnet guardians in example file")
|
setUpdateNumGuardians = AdminClientGuardianSetTemplateCmd.Flags().Int("num", 1, "Number of devnet guardians in example file")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue