forked from TrueCloudLab/certificates
Merge pull request #1155 from smallstep/acme-port-flags
Use the same style of flags
This commit is contained in:
commit
068a2dae8e
1 changed files with 5 additions and 4 deletions
|
@ -69,21 +69,22 @@ certificate issuer private key used in the RA mode.`,
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "context",
|
Name: "context",
|
||||||
Usage: "The name of the authority's context.",
|
Usage: "the <name> of the authority's context.",
|
||||||
EnvVar: "STEP_CA_CONTEXT",
|
EnvVar: "STEP_CA_CONTEXT",
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "acme-http-port",
|
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.`,
|
Requires **--insecure** flag.`,
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "acme-tls-port",
|
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.`,
|
Requires **--insecure** flag.`,
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "insecure",
|
Name: "insecure",
|
||||||
|
Usage: "enable insecure flags.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue