mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 12:07:54 +00:00
Fix generate-root help and progress output.
This commit is contained in:
@@ -267,7 +267,7 @@ func (c *GenerateRootCommand) dumpStatus(status *api.GenerateRootStatusResponse)
|
|||||||
statString := fmt.Sprintf(
|
statString := fmt.Sprintf(
|
||||||
"Nonce: %s\n"+
|
"Nonce: %s\n"+
|
||||||
"Started: %v\n"+
|
"Started: %v\n"+
|
||||||
"Rekey Progress: %d\n"+
|
"Generate Root Progress: %d\n"+
|
||||||
"Required Keys: %d\n"+
|
"Required Keys: %d\n"+
|
||||||
"Complete: %t",
|
"Complete: %t",
|
||||||
status.Nonce,
|
status.Nonce,
|
||||||
@@ -316,7 +316,7 @@ Usage: vault generate-root [options] [key]
|
|||||||
|
|
||||||
General Options:
|
General Options:
|
||||||
` + meta.GeneralOptionsUsage() + `
|
` + meta.GeneralOptionsUsage() + `
|
||||||
Rekey Options:
|
Generate Root Options:
|
||||||
|
|
||||||
-init Initialize the root generation attempt. This can only
|
-init Initialize the root generation attempt. This can only
|
||||||
be done if no generation is already initiated.
|
be done if no generation is already initiated.
|
||||||
|
|||||||
Reference in New Issue
Block a user