From 0ee7c0a97b2428dc7ff6c31becfbafe79a084033 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 25 Mar 2013 15:18:20 +0100 Subject: Accept -c as a command line argument (equivalent to --config) --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3