1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

correct command annotation

Signed-off-by: shawnhe <shawnhe@shawnhedeMacBook-Pro.local>
This commit is contained in:
shawnhe 2016-08-25 21:29:59 +08:00
parent 4844d13bd7
commit b642282990
5 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ type historyOptions struct {
noTrunc bool noTrunc bool
} }
// NewHistoryCommand create a new `docker history` command // NewHistoryCommand creates a new `docker history` command
func NewHistoryCommand(dockerCli *client.DockerCli) *cobra.Command { func NewHistoryCommand(dockerCli *client.DockerCli) *cobra.Command {
var opts historyOptions var opts historyOptions

View file

@ -22,7 +22,7 @@ type imagesOptions struct {
filter []string filter []string
} }
// NewImagesCommand create a new `docker images` command // NewImagesCommand creates a new `docker images` command
func NewImagesCommand(dockerCli *client.DockerCli) *cobra.Command { func NewImagesCommand(dockerCli *client.DockerCli) *cobra.Command {
var opts imagesOptions var opts imagesOptions

View file

@ -17,7 +17,7 @@ type removeOptions struct {
noPrune bool noPrune bool
} }
// NewRemoveCommand create a new `docker remove` command // NewRemoveCommand creates a new `docker remove` command
func NewRemoveCommand(dockerCli *client.DockerCli) *cobra.Command { func NewRemoveCommand(dockerCli *client.DockerCli) *cobra.Command {
var opts removeOptions var opts removeOptions

View file

@ -29,7 +29,7 @@ type searchOptions struct {
automated bool automated bool
} }
// NewSearchCommand create a new `docker search` command // NewSearchCommand creates a new `docker search` command
func NewSearchCommand(dockerCli *client.DockerCli) *cobra.Command { func NewSearchCommand(dockerCli *client.DockerCli) *cobra.Command {
var opts searchOptions var opts searchOptions

View file

@ -13,7 +13,7 @@ type tagOptions struct {
name string name string
} }
// NewTagCommand create a new `docker tag` command // NewTagCommand creates a new `docker tag` command
func NewTagCommand(dockerCli *client.DockerCli) *cobra.Command { func NewTagCommand(dockerCli *client.DockerCli) *cobra.Command {
var opts tagOptions var opts tagOptions