mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-10 05:11:09 +01:00
Revert "command/policy"
This reverts commit da81ab3b4c813b0c207555b9cdf46c6e67319546.
This commit is contained in:
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…
x
Reference in New Issue
Block a user