From dee1e042c32b99602aa26b5922388768a9fa7903 Mon Sep 17 00:00:00 2001 From: CasperX Date: Fri, 18 Nov 2022 18:08:12 +0700 Subject: [PATCH] fix: add missing CLI option to argv parser (#742) help message and types for the request logging option were updated, but the argument parser option wasn't. --- source/utilities/cli.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/utilities/cli.ts b/source/utilities/cli.ts index 9f87deaa..726c5268 100644 --- a/source/utilities/cli.ts +++ b/source/utilities/cli.ts @@ -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', @@ -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',