diff options
author | Ed Santiago <santiago@redhat.com> | 2020-01-08 13:20:36 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2020-01-08 14:24:43 -0700 |
commit | 3b2aa033c8f6abdf93e25f9e7bed7dd596fcfe34 (patch) | |
tree | e2eb3d04745cf31ef3d0c4b5a59fe382c8dcc333 /pkg/registrar/registrar_test.go | |
parent | c99b413abbc74f6f7e126d8bca58f44a3fcd9c2d (diff) | |
download | podman-3b2aa033c8f6abdf93e25f9e7bed7dd596fcfe34.tar.gz podman-3b2aa033c8f6abdf93e25f9e7bed7dd596fcfe34.tar.bz2 podman-3b2aa033c8f6abdf93e25f9e7bed7dd596fcfe34.zip |
Usage messages: show possible option values
...in a consistent manner: ("a"|"b"|"c")
This makes it possible (and easy) for zsh completion to
pick those out of the --help messages and offer them
as values when user hits TAB.
I chose this format because it's an already-existing
convention in cmd/podman/common.go.
Also: removed two duplicate "default: x" messages (Cobra
displays those automatically where a non-null default
is specified).
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'pkg/registrar/registrar_test.go')
0 files changed, 0 insertions, 0 deletions