diff options
author | Ed Santiago <santiago@redhat.com> | 2019-05-09 13:31:34 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-05-13 08:26:14 -0600 |
commit | 6b15f01a61f278321db7f61abd7807b4e1e293c4 (patch) | |
tree | 068d387b0407c186a5c39820460c2c2407c658a4 /cmd/podman | |
parent | 2ded1f6199b59c09268ca59de6903a30ac110201 (diff) | |
download | podman-6b15f01a61f278321db7f61abd7807b4e1e293c4.tar.gz podman-6b15f01a61f278321db7f61abd7807b4e1e293c4.tar.bz2 podman-6b15f01a61f278321db7f61abd7807b4e1e293c4.zip |
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>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/varlink.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/varlink.go b/cmd/podman/varlink.go index 215542d2c..698a30d84 100644 --- a/cmd/podman/varlink.go +++ b/cmd/podman/varlink.go @@ -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 { |