diff --git a/command/operator_init.go b/command/operator_init.go index 8660b8327d29..213702a1a4a8 100644 --- a/command/operator_init.go +++ b/command/operator_init.go @@ -213,10 +213,11 @@ func (c *OperatorInitCommand) Flags() *FlagSets { Usage: "", }) + // Kept to keep scripts passing the flag working, but not used f.IntVar(&IntVar{ Name: "stored-shares", Target: &c.flagStoredShares, - Default: 0, // No default, because we need to check if was supplied + Default: 0, Hidden: true, Usage: "", }) diff --git a/command/operator_rekey.go b/command/operator_rekey.go index 2f297439119f..4cc23fadc7ff 100644 --- a/command/operator_rekey.go +++ b/command/operator_rekey.go @@ -232,6 +232,7 @@ func (c *OperatorRekeyCommand) Flags() *FlagSets { Usage: "", }) + // Kept to keep scripts passing the flag working, but not used f.IntVar(&IntVar{ Name: "stored-shares", Target: &c.flagStoredShares,