From b642282990fe19f1dd7add0313c05cd139c52819 Mon Sep 17 00:00:00 2001 From: shawnhe Date: Thu, 25 Aug 2016 21:29:59 +0800 Subject: [PATCH] correct command annotation Signed-off-by: shawnhe --- api/client/image/history.go | 2 +- api/client/image/images.go | 2 +- api/client/image/remove.go | 2 +- api/client/image/search.go | 2 +- api/client/image/tag.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/client/image/history.go b/api/client/image/history.go index 5ead8fd2af..716c59bf72 100644 --- a/api/client/image/history.go +++ b/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 diff --git a/api/client/image/images.go b/api/client/image/images.go index 78458871c5..a357123386 100644 --- a/api/client/image/images.go +++ b/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 diff --git a/api/client/image/remove.go b/api/client/image/remove.go index c7c8322b89..bb2ba8a9be 100644 --- a/api/client/image/remove.go +++ b/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 diff --git a/api/client/image/search.go b/api/client/image/search.go index 8023a0732d..22825b50af 100644 --- a/api/client/image/search.go +++ b/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 diff --git a/api/client/image/tag.go b/api/client/image/tag.go index 665e3430c7..6d77d9d413 100644 --- a/api/client/image/tag.go +++ b/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