diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-01 15:54:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 15:54:27 +0200 |
commit | 150778820f0f6d9f7ffdb672a8b136804378f025 (patch) | |
tree | b959b53d288816c3c36fb5b054a19075d65a3c34 /cmd/podman/attach.go | |
parent | ed394070a895654ad3ffbabd81a3033b0c7088ff (diff) | |
parent | 4f56964d556a7379c09a903258fd44c2232a686a (diff) | |
download | podman-150778820f0f6d9f7ffdb672a8b136804378f025.tar.gz podman-150778820f0f6d9f7ffdb672a8b136804378f025.tar.bz2 podman-150778820f0f6d9f7ffdb672a8b136804378f025.zip |
Merge pull request #3324 from marcov/detach-keys-configurable
libpod: specify a detach keys sequence in libpod.conf
Diffstat (limited to 'cmd/podman/attach.go')
-rw-r--r-- | cmd/podman/attach.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/attach.go b/cmd/podman/attach.go index 37f8afbad..48a25a3e2 100644 --- a/cmd/podman/attach.go +++ b/cmd/podman/attach.go @@ -31,7 +31,7 @@ func init() { attachCommand.SetHelpTemplate(HelpTemplate()) attachCommand.SetUsageTemplate(UsageTemplate()) flags := attachCommand.Flags() - flags.StringVar(&attachCommand.DetachKeys, "detach-keys", "", "Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _") + flags.StringVar(&attachCommand.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.BoolVar(&attachCommand.NoStdin, "no-stdin", false, "Do not attach STDIN. The default is false") flags.BoolVar(&attachCommand.SigProxy, "sig-proxy", true, "Proxy received signals to the process") flags.BoolVarP(&attachCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of") |