From f8fc85e9e7821cf9cdbc50119a4422b1ea8da220 Mon Sep 17 00:00:00 2001 From: unclejack Date: Fri, 21 Jun 2013 11:06:41 +0300 Subject: [PATCH] mark command as optional for docker run Upstream-commit: 66910a76027d3e37b6a96c0bd1106cfd5d27ba40 Component: engine --- components/engine/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/container.go b/components/engine/container.go index f60de21bdc..f6abf14e68 100644 --- a/components/engine/container.go +++ b/components/engine/container.go @@ -76,7 +76,7 @@ type Config struct { } func ParseRun(args []string, capabilities *Capabilities) (*Config, *flag.FlagSet, error) { - cmd := Subcmd("run", "[OPTIONS] IMAGE COMMAND [ARG...]", "Run a command in a new container") + cmd := Subcmd("run", "[OPTIONS] IMAGE [COMMAND] [ARG...]", "Run a command in a new container") if len(args) > 0 && args[0] != "--help" { cmd.SetOutput(ioutil.Discard) }