]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Accept -c as a command line argument (equivalent to --config)
authorattilamolnar <attilamolnar@hush.com>
Mon, 25 Mar 2013 14:18:20 +0000 (15:18 +0100)
committerattilamolnar <attilamolnar@hush.com>
Mon, 25 Mar 2013 14:18:20 +0000 (15:18 +0100)
src/inspircd.cpp

index 9c13887a1c4cbf2591415c381101d9f9df8cf197..a67d24a6dc986a4b89e189b2f6a17d043405da8e 100644 (file)
@@ -427,7 +427,7 @@ InspIRCd::InspIRCd(int argc, char** argv) :
        };
 
        int index;
-       while ((c = getopt_long(argc, argv, ":f:", longopts, &index)) != -1)
+       while ((c = getopt_long(argc, argv, ":c:f:", longopts, &index)) != -1)
        {
                switch (c)
                {