Skip to content

Commit

Permalink
build.sh: accept --help (#1093)
Browse files Browse the repository at this point in the history
Currently, the `--help` argument isn't supported:
```
$ ./build.sh --help
Invalid option or formatting, check --help: --help
```

Authors:
  - Mads R. B. Kristensen (https://github.com/madsbk)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #1093
  • Loading branch information
madsbk authored Sep 19, 2022
1 parent 7ec6304 commit 28f6d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function ensureCMakeRan {
fi
}

if hasArg -h; then
if hasArg -h || hasArg --help; then
echo "${HELP}"
exit 0
fi
Expand Down

0 comments on commit 28f6d2d

Please sign in to comment.