diff --git a/config/app/variables/cli/cli.json b/config/app/variables/cli/cli.json index af172b602..57776d289 100644 --- a/config/app/variables/cli/cli.json +++ b/config/app/variables/cli/cli.json @@ -115,7 +115,8 @@ } ], "options": { - "usage": "node ./bin/server.js [args]" + "usage": "node ./bin/server.js [args]", + "strictMode": true } } ] diff --git a/src/init/cli/CliExtractor.ts b/src/init/cli/CliExtractor.ts index b8bbe9bc7..edbf013fd 100644 --- a/src/init/cli/CliExtractor.ts +++ b/src/init/cli/CliExtractor.ts @@ -10,7 +10,7 @@ import type { CliArgv, Shorthand } from '../variables/Types'; * but that does mean that this class should not error if they are present, * e.g., by being strict throwing an error on these unexpected parameters. * - * The following core CLI parameters are mandatory: + * In case strict mode is preferred, the following should be added to the list of known parameters: * - -c / \--config * - -m / \--mainModulePath * - -l / \--loggingLevel