From bae9a0c1524fb6a9595189f9aac3df924965a7c7 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 4 Nov 2022 10:31:11 -0700 Subject: [PATCH 1/2] Use the same style of flags It changes the new step-ca flags to use a standard style. --- commands/app.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/commands/app.go b/commands/app.go index f624843a..125c42db 100644 --- a/commands/app.go +++ b/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 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 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.", }, }, } From e00781873e07bdd835482f90a8b55bcbb2d11078 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 4 Nov 2022 10:41:06 -0700 Subject: [PATCH 2/2] Update commands/app.go Co-authored-by: Max --- commands/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/app.go b/commands/app.go index 125c42db..66030be2 100644 --- a/commands/app.go +++ b/commands/app.go @@ -69,7 +69,7 @@ certificate issuer private key used in the RA mode.`, }, cli.StringFlag{ Name: "context", - Usage: "the name of the authority's context.", + Usage: "the of the authority's context.", EnvVar: "STEP_CA_CONTEXT", }, cli.IntFlag{