Skip to content

Commit

Permalink
change flags from --ports to --publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaasarch committed Nov 7, 2018
1 parent c7a568e commit 5f8ae43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/common_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func addCommonFlags(flagSet *pflag.FlagSet) *container {
flagSet.StringVar(&c.specificID, "specific-id", "", "Specify id of container, length of id should be 64, characters of id should be in '0123456789abcdef'")

flagSet.StringSliceVar(&c.networks, "net", nil, "Set networks to container")
flagSet.StringSliceVarP(&c.ports, "port", "p", nil, "Set container ports mapping")
flagSet.StringSliceVarP(&c.ports, "publish", "p", nil, "Set container ports mapping")
flagSet.StringSliceVar(&c.expose, "expose", nil, "Set expose container's ports")

flagSet.StringVar(&c.pidMode, "pid", "", "PID namespace to use")
Expand Down

0 comments on commit 5f8ae43

Please sign in to comment.