diff options
author | baude <bbaude@redhat.com> | 2017-12-04 10:43:09 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-04 20:03:16 +0000 |
commit | 3db735c6d1bd3fdcf77f4aeed581ae852d79b951 (patch) | |
tree | daad6c759e45b7d316950be9aa57498fecb7a86a /cmd/kpod/start.go | |
parent | 265efcb9f88a78ee52eb5644d4db86e49788991f (diff) | |
download | podman-3db735c6d1bd3fdcf77f4aeed581ae852d79b951.tar.gz podman-3db735c6d1bd3fdcf77f4aeed581ae852d79b951.tar.bz2 podman-3db735c6d1bd3fdcf77f4aeed581ae852d79b951.zip |
Short options!
Any subcommand that has two or more booleon short options can
now combine those two options. For example:
kpod rmi -af (Remove all images forceably)
Signed-off-by: baude <bbaude@redhat.com>
Closes: #100
Approved by: rhatdan
Diffstat (limited to 'cmd/kpod/start.go')
-rw-r--r-- | cmd/kpod/start.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/kpod/start.go b/cmd/kpod/start.go index fcc4c9736..c874c541c 100644 --- a/cmd/kpod/start.go +++ b/cmd/kpod/start.go @@ -34,12 +34,13 @@ var ( ` startCommand = cli.Command{ - Name: "start", - Usage: "Start one or more containers", - Description: startDescription, - Flags: startFlags, - Action: startCmd, - ArgsUsage: "CONTAINER-NAME [CONTAINER-NAME ...]", + Name: "start", + Usage: "Start one or more containers", + Description: startDescription, + Flags: startFlags, + Action: startCmd, + ArgsUsage: "CONTAINER-NAME [CONTAINER-NAME ...]", + UseShortOptionHandling: true, } ) |