summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-19 10:33:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-19 10:33:46 +0000
commit88ac4810e1b2671bbcd0a439f71886fd8e5ed174 (patch)
tree9987c9d1a2d39ecb79ceb758c224320ce7a52932 /configure
parent465aa31a061cdce731cf2cf477769af3d19dc6c5 (diff)
Allow -help as well as --help
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5289 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
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: