mirror of
https://github.com/containers/podman.git
synced 2025-10-16 10:43:52 +08:00
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
This commit is contained in:
@ -131,13 +131,14 @@ var createDescription = "Creates a new container from the given image or" +
|
||||
" will be created with the initial state 'created'."
|
||||
|
||||
var createCommand = cli.Command{
|
||||
Name: "create",
|
||||
Usage: "create but do not start a container",
|
||||
Description: createDescription,
|
||||
Flags: createFlags,
|
||||
Action: createCmd,
|
||||
ArgsUsage: "IMAGE [COMMAND [ARG...]]",
|
||||
SkipArgReorder: true,
|
||||
Name: "create",
|
||||
Usage: "create but do not start a container",
|
||||
Description: createDescription,
|
||||
Flags: createFlags,
|
||||
Action: createCmd,
|
||||
ArgsUsage: "IMAGE [COMMAND [ARG...]]",
|
||||
SkipArgReorder: true,
|
||||
UseShortOptionHandling: true,
|
||||
}
|
||||
|
||||
func createCmd(c *cli.Context) error {
|
||||
|
Reference in New Issue
Block a user