diff --git a/command/init.go b/command/init.go index a87adc398..51e39e181 100644 --- a/command/init.go +++ b/command/init.go @@ -24,9 +24,9 @@ func (c *InitCommand) Run(args []string) int { flags.IntVar(&threshold, "key-threshold", 3, "") flags.IntVar(&storedShares, "stored-shares", 0, "") flags.Var(&pgpKeys, "pgp-keys", "") - flags.IntVar(&recoveryShares, "recovery-key-shares", 0, "") - flags.IntVar(&recoveryThreshold, "recovery-key-threshold", 0, "") - flags.Var(&recoveryPgpKeys, "recovery-key-pgp-keys", "") + flags.IntVar(&recoveryShares, "recovery-shares", 0, "") + flags.IntVar(&recoveryThreshold, "recovery-threshold", 0, "") + flags.Var(&recoveryPgpKeys, "recovery-pgp-keys", "") flags.BoolVar(&check, "check", false, "") if err := flags.Parse(args); err != nil { return 1 @@ -161,13 +161,13 @@ Init Options: 'vault unseal' command, you will need to hex decode and decrypt; this will be the plaintext unseal key. - -recovery-key-shares=0 The number of key shares to split the recovery key + -recovery-shares=0 The number of key shares to split the recovery key into. This is not normally available. - -recovery-key-threshold=0 The number of key shares required to reconstruct + -recovery-threshold=0 The number of key shares required to reconstruct the recovery key. This is not normally available. - -recovery-key-pgp-keys If provided, behaves like "pgp-keys" but for the + -recovery-pgp-keys If provided, behaves like "pgp-keys" but for the recovery key shares. This is not normally available. ` return strings.TrimSpace(helpText)