From 88ac4810e1b2671bbcd0a439f71886fd8e5ed174 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 19 Sep 2006 10:33:46 +0000 Subject: [PATCH] Allow -help as well as --help git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5289 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 6 ++++++ 1 file changed, 6 insertions(+) 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: -- 2.39.5