소스 검색

Merge pull request #1155 from smallstep/acme-port-flags

Use the same style of flags
Mariano Cano 4 년 전
부모
커밋
068a2dae8e
1개의 변경된 파일과 5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      commands/app.go

+ 5 - 4
commands/app.go

@@ -69,21 +69,22 @@ certificate issuer private key used in the RA mode.`,
 		},
 		cli.StringFlag{
 			Name:   "context",
-			Usage:  "The name of the authority's context.",
+			Usage:  "the <name> of the authority's context.",
 			EnvVar: "STEP_CA_CONTEXT",
 		},
 		cli.IntFlag{
 			Name: "acme-http-port",
-			Usage: `The port used on http-01 challenges. It can be changed for testing purposes.
+			Usage: `the <port> used on http-01 challenges. It can be changed for testing purposes.
 Requires **--insecure** flag.`,
 		},
 		cli.IntFlag{
 			Name: "acme-tls-port",
-			Usage: `The port used on tls-alpn-01 challenges. It can be changed for testing purposes.
+			Usage: `the <port> used on tls-alpn-01 challenges. It can be changed for testing purposes.
 Requires **--insecure** flag.`,
 		},
 		cli.BoolFlag{
-			Name: "insecure",
+			Name:  "insecure",
+			Usage: "enable insecure flags.",
 		},
 	},
 }