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