Skip to content

Commit

Permalink
strip out unused logging levels from help text. use dashed name for f…
Browse files Browse the repository at this point in the history
…orward-consistency
  • Loading branch information
inconshreveable committed Dec 25, 2014
1 parent 8056e1b commit 76ef59f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ngrok/client/cli.go
Expand Up @@ -64,9 +64,9 @@ func ParseArgs() (opts *Options, err error) {
"Write log messages to this file. 'stdout' and 'none' have special meanings")

loglevel := flag.String(
"logLevel",
"log-level",
"DEBUG",
"The level of messages to log. One of: FINEST, FINE, DEBUG, TRACE, INFO, WARNING, ERROR, CRITICAL")
"The level of messages to log. One of: DEBUG, INFO, WARNING, ERROR")

authtoken := flag.String(
"authtoken",
Expand Down
2 changes: 1 addition & 1 deletion src/ngrok/server/cli.go
Expand Up @@ -23,7 +23,7 @@ func parseArgs() *Options {
tlsCrt := flag.String("tlsCrt", "", "Path to a TLS certificate file")
tlsKey := flag.String("tlsKey", "", "Path to a TLS key file")
logto := flag.String("log", "stdout", "Write log messages to this file. 'stdout' and 'none' have special meanings")
loglevel := flag.String("logLevel", "DEBUG", "The level of messages to log. One of: FINEST, FINE, DEBUG, TRACE, INFO, WARNING, ERROR, CRITICAL")
loglevel := flag.String("log-level", "DEBUG", "The level of messages to log. One of: DEBUG, INFO, WARNING, ERROR")
flag.Parse()

return &Options{
Expand Down

0 comments on commit 76ef59f

Please sign in to comment.