From 66910a76027d3e37b6a96c0bd1106cfd5d27ba40 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 --- container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container.go b/container.go index f60de21bdc..f6abf14e68 100644 --- a/container.go +++ b/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) }