Przeglądaj źródła

Merge pull request #26013 from ShawnHe711/correct-nit-in-command-annotation

correct command annotation
Brian Goff 8 lat temu
rodzic
commit
7250dd4222

+ 1 - 1
api/client/image/history.go

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

+ 1 - 1
api/client/image/images.go

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

+ 1 - 1
api/client/image/remove.go

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

+ 1 - 1
api/client/image/search.go

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

+ 1 - 1
api/client/image/tag.go

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