Skip to content

Commit

Permalink
fix: add missing CLI option to argv parser (#742)
Browse files Browse the repository at this point in the history
help message and types for the request logging option were updated, but the argument parser option wasn't.
  • Loading branch information
casperx committed Nov 18, 2022
1 parent aa4a827 commit dee1e04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/utilities/cli.ts
Expand Up @@ -159,6 +159,7 @@ const options = {
'--ssl-cert': String,
'--ssl-key': String,
'--ssl-pass': String,
'--no-request-logging': Boolean,
// A list of aliases for the above options.
'-h': '--help',
'-v': '--version',
Expand All @@ -170,6 +171,7 @@ const options = {
'-u': '--no-compression',
'-S': '--symlinks',
'-C': '--cors',
'-L': '--no-request-logging',

// The `-p` option is deprecated and is kept only for backwards-compatibility.
'-p': '--listen',
Expand Down

0 comments on commit dee1e04

Please sign in to comment.