mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-23 06:04:23 +03:00
Turn off help option so that elm-pages run Stars --help
gives CLI options output for Stars script.
This commit is contained in:
parent
e25dcbc8f0
commit
d0a6ad2386
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user