From d0a6ad23864bca2aef5e65d25860ae0191321e7b Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Mon, 1 May 2023 14:13:37 -0700 Subject: [PATCH] Turn off help option so that `elm-pages run Stars --help` gives CLI options output for Stars script. --- generator/src/cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/src/cli.js b/generator/src/cli.js index 9df6965e..58778337 100755 --- a/generator/src/cli.js +++ b/generator/src/cli.js @@ -90,6 +90,7 @@ async function main() { .description("run an elm-pages script") .allowUnknownOption() .allowExcessArguments() + .helpOption(false) // allow --help to propogate to the Script to show usage .action(async (elmModulePath, options, options2) => { const unprocessedCliOptions = options2.args.splice( options2.processedArgs.length,