varlink: fix usage message, URI is now optional

38199f4c made the URI argument to podman-varlink optional.
Fix the usage message to indicate this.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago 2019-05-09 13:31:34 -06:00
parent 2ded1f6199
commit 6b15f01a61
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ var (
Tools speaking varlink protocol can remotely manage pods, containers and images.
`
_varlinkCommand = &cobra.Command{
Use: "varlink [flags] URI",
Use: "varlink [flags] [URI]",
Short: "Run varlink interface",
Long: varlinkDescription,
RunE: func(cmd *cobra.Command, args []string) error {
@ -68,7 +68,7 @@ func varlinkCmd(c *cliconfig.VarlinkValues) error {
args := c.InputArgs
if len(args) > 1 {
return errors.Errorf("too many arguments. you may optionally provide 1")
return errors.Errorf("too many arguments. You may optionally provide 1")
}
if len(args) > 0 {