소스 검색

Merge pull request #29806 from albers/fix-plugin-inspect-usage

Fix usage message of `plugin inspect`
Vincent Demeester 8 년 전
부모
커밋
187592583c
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      cli/command/plugin/inspect.go
  2. 1 1
      docs/reference/commandline/plugin_inspect.md

+ 1 - 1
cli/command/plugin/inspect.go

@@ -17,7 +17,7 @@ func newInspectCommand(dockerCli *command.DockerCli) *cobra.Command {
 	var opts inspectOptions
 	var opts inspectOptions
 
 
 	cmd := &cobra.Command{
 	cmd := &cobra.Command{
-		Use:   "inspect [OPTIONS] PLUGIN|ID [PLUGIN|ID...]",
+		Use:   "inspect [OPTIONS] PLUGIN [PLUGIN...]",
 		Short: "Display detailed information on one or more plugins",
 		Short: "Display detailed information on one or more plugins",
 		Args:  cli.RequiresMinArgs(1),
 		Args:  cli.RequiresMinArgs(1),
 		RunE: func(cmd *cobra.Command, args []string) error {
 		RunE: func(cmd *cobra.Command, args []string) error {

+ 1 - 1
docs/reference/commandline/plugin_inspect.md

@@ -16,7 +16,7 @@ keywords: "plugin, inspect"
 # plugin inspect
 # plugin inspect
 
 
 ```markdown
 ```markdown
-Usage:	docker plugin inspect [OPTIONS] PLUGIN|ID [PLUGIN|ID...]
+Usage:	docker plugin inspect [OPTIONS] PLUGIN [PLUGIN...]
 
 
 Display detailed information on one or more plugins
 Display detailed information on one or more plugins