mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-10 08:37:00 +02:00
parent
da81ab3b4c
commit
83d0f13a68
@ -25,7 +25,7 @@ func (c *PolicyListCommand) Run(args []string) int {
|
||||
} else {
|
||||
flags.Usage()
|
||||
c.Ui.Error(fmt.Sprintf(
|
||||
"\npolicy expects zero or one arguments"))
|
||||
"\npolicies expects zero or one arguments"))
|
||||
return 1
|
||||
}
|
||||
}
|
||||
@ -77,7 +77,7 @@ func (c *PolicyListCommand) Synopsis() string {
|
||||
|
||||
func (c *PolicyListCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: vault policy [options] [name]
|
||||
Usage: vault policies [options] [name]
|
||||
|
||||
List the policies that are available or read a single policy.
|
||||
|
||||
|
@ -43,7 +43,7 @@ func init() {
|
||||
}, nil
|
||||
},
|
||||
|
||||
"policy": func() (cli.Command, error) {
|
||||
"policies": func() (cli.Command, error) {
|
||||
return &command.PolicyListCommand{
|
||||
Meta: meta,
|
||||
}, nil
|
||||
|
Loading…
Reference in New Issue
Block a user