diff --git a/command/policy_list.go b/command/policy_list.go index 44f939953f..50f2a0fc22 100644 --- a/command/policy_list.go +++ b/command/policy_list.go @@ -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. diff --git a/commands.go b/commands.go index 4c14c94c69..a578295b79 100644 --- a/commands.go +++ b/commands.go @@ -43,7 +43,7 @@ func init() { }, nil }, - "policy": func() (cli.Command, error) { + "policies": func() (cli.Command, error) { return &command.PolicyListCommand{ Meta: meta, }, nil