Remove unused CLI option

This commit is contained in:
xenolf 2015-11-01 00:29:01 +01:00
parent ee2c7f3ad7
commit ee58d205a5
2 changed files with 2 additions and 10 deletions

View file

@ -49,7 +49,6 @@ VERSION:
COMMANDS: COMMANDS:
run Register an account, then create and install a certificate run Register an account, then create and install a certificate
auth Create a certificate - must already have an account
revoke Revoke a certificate revoke Revoke a certificate
renew Renew a certificate renew Renew a certificate
help, h Shows a list of commands or help for one command help, h Shows a list of commands or help for one command
@ -59,11 +58,11 @@ GLOBAL OPTIONS:
--server, -s "https://acme-staging.api.letsencrypt.org/" CA hostname (and optionally :port). The server certificate must be trusted in order to avoid further modifications to the client. --server, -s "https://acme-staging.api.letsencrypt.org/" CA hostname (and optionally :port). The server certificate must be trusted in order to avoid further modifications to the client.
--email, -m Email used for registration and recovery contact. --email, -m Email used for registration and recovery contact.
--rsa-key-size, -B "2048" Size of the RSA key. --rsa-key-size, -B "2048" Size of the RSA key.
--path "CWD" Directory to use for storing the data --path "CWD/.lego" Directory to use for storing the data
--port Challenges will use this port to listen on. Please make sure to forward port 443 to this port on your machine. Otherwise use setcap on the binary --port Challenges will use this port to listen on. Please make sure to forward port 443 to this port on your machine. Otherwise use setcap on the binary
--devMode If set to true, all client side challenge pre-tests are skipped.
--help, -h show help --help, -h show help
--version, -v print the version --version, -v print the version
``` ```

7
cli.go
View file

@ -38,13 +38,6 @@ func main() {
Usage: "Register an account, then create and install a certificate", Usage: "Register an account, then create and install a certificate",
Action: run, Action: run,
}, },
{
Name: "auth",
Usage: "Create a certificate - must already have an account",
Action: func(c *cli.Context) {
logger().Fatal("Not implemented")
},
},
{ {
Name: "revoke", Name: "revoke",
Usage: "Revoke a certificate", Usage: "Revoke a certificate",