From: brain Date: Tue, 19 Sep 2006 10:33:46 +0000 (+0000) Subject: Allow -help as well as --help X-Git-Tag: v2.0.23~7069 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=88ac4810e1b2671bbcd0a439f71886fd8e5ed174;p=user%2Fhenk%2Fcode%2Finspircd.git Allow -help as well as --help git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5289 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/configure b/configure index eca2021ed..70401e484 100755 --- a/configure +++ b/configure @@ -15,6 +15,11 @@ use Cwd; use Getopt::Long; +if ($ARGV[1] eq "-help") +{ + showhelp(); +} + GetOptions ( 'enable-gnutls' => \$opt_use_gnutls, 'enable-openssl' => \$opt_use_openssl, @@ -1870,6 +1875,7 @@ Interactive configuration and reconfiguration: -svnupdate {rebuild} Update working copy {and optionally rebuild} -clean Remove .config.cache + -help Show this help text Non-interactive and initial configuration: