Revert "command/policy"

This reverts commit da81ab3b4c.
This commit is contained in:
Mitchell Hashimoto 2015-04-01 23:07:49 -07:00
parent da81ab3b4c
commit 83d0f13a68
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -43,7 +43,7 @@ func init() {
}, nil
},
"policy": func() (cli.Command, error) {
"policies": func() (cli.Command, error) {
return &command.PolicyListCommand{
Meta: meta,
}, nil