]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Allow -help as well as --help
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 19 Sep 2006 10:33:46 +0000 (10:33 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 19 Sep 2006 10:33:46 +0000 (10:33 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5289 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index eca2021ed79994964d4f50238b81fa088f10790d..70401e484cbda2dbc0b0ab28e1d575e0db06bd48 100755 (executable)
--- a/configure
+++ b/configure
 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: