summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-14 13:59:22 +0200
committerGitHub <noreply@github.com>2019-05-14 13:59:22 +0200
commita261b60cc8851c04efd191be6f6e2e4598439822 (patch)
treeb5dc34f48b77b862e59f9ecc82d6f419e66b4e10 /cmd/podman
parent797060f98a34ff9f421f0150b426c62409eb647d (diff)
parent6b15f01a61f278321db7f61abd7807b4e1e293c4 (diff)
downloadpodman-a261b60cc8851c04efd191be6f6e2e4598439822.tar.gz
podman-a261b60cc8851c04efd191be6f6e2e4598439822.tar.bz2
podman-a261b60cc8851c04efd191be6f6e2e4598439822.zip
Merge pull request #3096 from edsantiago/varlink_usage
varlink: fix usage message, URI is now optional
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/varlink.go4
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 {