aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/start.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-07 15:16:36 +0100
committerGitHub <noreply@github.com>2019-11-07 15:16:36 +0100
commita889fd397ae56f16c71be2bf8b0a886def1559fa (patch)
tree0341a13c2f8513f5149868b594c151a737047633 /cmd/podman/start.go
parentaad29045531152f6b4763fe6a45e8c9daabaa0e0 (diff)
parent7c623bd41ff3d53412531343a94e4fa5fead759f (diff)
downloadpodman-a889fd397ae56f16c71be2bf8b0a886def1559fa.tar.gz
podman-a889fd397ae56f16c71be2bf8b0a886def1559fa.tar.bz2
podman-a889fd397ae56f16c71be2bf8b0a886def1559fa.zip
Merge pull request #4441 from rhatdan/detach
Allow users to disable detach keys
Diffstat (limited to 'cmd/podman/start.go')
-rw-r--r--cmd/podman/start.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/start.go b/cmd/podman/start.go
index 2d2cf74d2..d4b4534bb 100644
--- a/cmd/podman/start.go
+++ b/cmd/podman/start.go
@@ -35,7 +35,7 @@ func init() {
startCommand.SetUsageTemplate(UsageTemplate())
flags := startCommand.Flags()
flags.BoolVarP(&startCommand.Attach, "attach", "a", false, "Attach container's STDOUT and STDERR")
- flags.StringVar(&startCommand.DetachKeys, "detach-keys", "", "Override the key sequence for detaching a container. Format is a single character `[a-Z]` or a comma separated sequence of `ctrl-<value>`, where `<value>` is one of: `a-z`, `@`, `^`, `[`, `\\`, `]`, `^` or `_`")
+ flags.StringVar(&startCommand.DetachKeys, "detach-keys", define.DefaultDetachKeys, "Select the key sequence for detaching a container. Format is a single character `[a-Z]` or a comma separated sequence of `ctrl-<value>`, where `<value>` is one of: `a-z`, `@`, `^`, `[`, `\\`, `]`, `^` or `_`")
flags.BoolVarP(&startCommand.Interactive, "interactive", "i", false, "Keep STDIN open even if not attached")
flags.BoolVarP(&startCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
flags.BoolVar(&startCommand.SigProxy, "sig-proxy", false, "Proxy received signals to the process (default true if attaching, false otherwise)")