|
@@ -1867,7 +1867,7 @@ func (cli *DockerCli) CmdAttach(args ...string) error {
|
|
|
var (
|
|
|
cmd = cli.Subcmd("attach", "CONTAINER", "Attach to a running container")
|
|
|
noStdin = cmd.Bool([]string{"#nostdin", "-no-stdin"}, false, "Do not attach STDIN")
|
|
|
- proxy = cmd.Bool([]string{"#sig-proxy", "-sig-proxy"}, true, "Proxy all received signals to the process (even in non-TTY mode). SIGCHLD, SIGKILL, and SIGSTOP are not proxied.")
|
|
|
+ proxy = cmd.Bool([]string{"#sig-proxy", "-sig-proxy"}, true, "Proxy all received signals to the process (non-TTY mode only). SIGCHLD, SIGKILL, and SIGSTOP are not proxied.")
|
|
|
)
|
|
|
|
|
|
if err := cmd.Parse(args); err != nil {
|
|
@@ -2191,7 +2191,7 @@ func (cli *DockerCli) CmdRun(args ...string) error {
|
|
|
var (
|
|
|
flAutoRemove = cmd.Bool([]string{"#rm", "-rm"}, false, "Automatically remove the container when it exits (incompatible with -d)")
|
|
|
flDetach = cmd.Bool([]string{"d", "-detach"}, false, "Detached mode: run the container in the background and print the new container ID")
|
|
|
- flSigProxy = cmd.Bool([]string{"#sig-proxy", "-sig-proxy"}, true, "Proxy received signals to the process (even in non-TTY mode). SIGCHLD, SIGSTOP, and SIGKILL are not proxied.")
|
|
|
+ flSigProxy = cmd.Bool([]string{"#sig-proxy", "-sig-proxy"}, true, "Proxy received signals to the process (non-TTY mode only). SIGCHLD, SIGSTOP, and SIGKILL are not proxied.")
|
|
|
flName = cmd.String([]string{"#name", "-name"}, "", "Assign a name to the container")
|
|
|
flAttach *opts.ListOpts
|
|
|
|