We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2799a5 commit 7d5fa9eCopy full SHA for 7d5fa9e
configure
@@ -360,6 +360,13 @@ abs_path() {
360
(unset CDPATH && cd "$_path" > /dev/null && pwd)
361
}
362
363
+HELP=0
364
+for arg; do
365
+ case "$arg" in
366
+ --help) HELP=1;;
367
+ esac
368
+done
369
+
370
msg "looking for configure programs"
371
need_cmd cmp
372
need_cmd mkdir
@@ -566,11 +573,8 @@ esac
566
573
567
574
568
575
OPTIONS=""
569
-HELP=0
570
-if [ "$1" = "--help" ]
576
+if [ "$HELP" -eq 1 ]
571
577
then
572
- HELP=1
- shift
578
echo
579
echo "Usage: $CFG_SELF [options]"
580
0 commit comments