From: attilamolnar Date: Mon, 25 Mar 2013 14:18:20 +0000 (+0100) Subject: Accept -c as a command line argument (equivalent to --config) X-Git-Tag: v2.0.23~349 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0ee7c0a97b2428dc7ff6c31becfbafe79a084033;p=user%2Fhenk%2Fcode%2Finspircd.git Accept -c as a command line argument (equivalent to --config) --- diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 9c13887a1..a67d24a6d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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) {