make configure accept -h as an alias for --help
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Feb 2016 02:14:09 +0000 (21:14 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Feb 2016 02:14:09 +0000 (21:14 -0500)
configure

index 58f496e0f5f07a3057e8b50a7fcc6676da36e47a..248c45005eb0c3eeff2121a369572436c91aa67c 100755 (executable)
--- a/configure
+++ b/configure
@@ -142,7 +142,7 @@ clang_wrapper=no
 
 for arg ; do
 case "$arg" in
---help) usage ;;
+--help|-h) usage ;;
 --srcdir=*) srcdir=${arg#*=} ;;
 --prefix=*) prefix=${arg#*=} ;;
 --exec-prefix=*) exec_prefix=${arg#*=} ;;