Merge pull request #2229 from hashicorp/b-generate-root-output

Fix generate-root help and progress output.
This commit is contained in:
Vishal Nayak 2017-01-04 16:42:56 -05:00 committed by GitHub
commit 8ef964c496

View file

@ -267,7 +267,7 @@ func (c *GenerateRootCommand) dumpStatus(status *api.GenerateRootStatusResponse)
statString := fmt.Sprintf(
"Nonce: %s\n"+
"Started: %v\n"+
"Rekey Progress: %d\n"+
"Generate Root Progress: %d\n"+
"Required Keys: %d\n"+
"Complete: %t",
status.Nonce,
@ -316,7 +316,7 @@ Usage: vault generate-root [options] [key]
General Options:
` + meta.GeneralOptionsUsage() + `
Rekey Options:
Generate Root Options:
-init Initialize the root generation attempt. This can only
be done if no generation is already initiated.