mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Add missing f shorthand for version command
This commit is contained in:
parent
4fb039164d
commit
d97f9d68fd
2 changed files with 6 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ func VersionCommand(version string) *cobra.Command {
|
|||
}
|
||||
// define flags for backward compatibility with com.docker.cli
|
||||
flags := cmd.Flags()
|
||||
flags.String("format", "", "Format the output using the given Go template")
|
||||
flags.StringP("format", "f", "", "Format the output using the given Go template")
|
||||
flags.String("kubeconfig", "", "Kubernetes config file")
|
||||
mobyflags.AddMobyFlagsForRetrocompatibility(flags)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue