summaryrefslogtreecommitdiff
path: root/cmd/kpod/history.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-04 10:43:09 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-04 20:03:16 +0000
commit3db735c6d1bd3fdcf77f4aeed581ae852d79b951 (patch)
treedaad6c759e45b7d316950be9aa57498fecb7a86a /cmd/kpod/history.go
parent265efcb9f88a78ee52eb5644d4db86e49788991f (diff)
downloadpodman-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/history.go')
-rw-r--r--cmd/kpod/history.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/kpod/history.go b/cmd/kpod/history.go
index eba5b8b35..211a843d0 100644
--- a/cmd/kpod/history.go
+++ b/cmd/kpod/history.go
@@ -71,12 +71,13 @@ var (
historyDescription = "Displays the history of an image. The information can be printed out in an easy to read, " +
"or user specified format, and can be truncated."
historyCommand = cli.Command{
- Name: "history",
- Usage: "Show history of a specified image",
- Description: historyDescription,
- Flags: historyFlags,
- Action: historyCmd,
- ArgsUsage: "",
+ Name: "history",
+ Usage: "Show history of a specified image",
+ Description: historyDescription,
+ Flags: historyFlags,
+ Action: historyCmd,
+ ArgsUsage: "",
+ UseShortOptionHandling: true,
}
)