From f3d4c33213088ce3c381156760064f07da76de30 Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Mon, 20 Apr 2015 17:13:48 -0700 Subject: [PATCH] actually depreciate -rm, -sig-proxy, -name, seriously its been forever Signed-off-by: Jessica Frazelle --- api/client/run.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/client/run.go b/api/client/run.go index 74c656af3d..628e725f1b 100644 --- a/api/client/run.go +++ b/api/client/run.go @@ -43,10 +43,10 @@ func (cli *DockerCli) CmdRun(args ...string) error { // These are flags not stored in Config/HostConfig var ( - flAutoRemove = cmd.Bool([]string{"#rm", "-rm"}, false, "Automatically remove the container when it exits") + flAutoRemove = cmd.Bool([]string{"-rm"}, false, "Automatically remove the container when it exits") flDetach = cmd.Bool([]string{"d", "-detach"}, false, "Run container in background and print container ID") - flSigProxy = cmd.Bool([]string{"#sig-proxy", "-sig-proxy"}, true, "Proxy received signals to the process") - flName = cmd.String([]string{"#name", "-name"}, "", "Assign a name to the container") + flSigProxy = cmd.Bool([]string{"-sig-proxy"}, true, "Proxy received signals to the process") + flName = cmd.String([]string{"-name"}, "", "Assign a name to the container") flAttach *opts.ListOpts ErrConflictAttachDetach = fmt.Errorf("Conflicting options: -a and -d")