summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-03-25 15:18:20 +0100
committerattilamolnar <attilamolnar@hush.com>2013-03-25 15:18:20 +0100
commit0ee7c0a97b2428dc7ff6c31becfbafe79a084033 (patch)
tree0357ce006efd2775840894e9d375ef8d1875d935 /src/inspircd.cpp
parent25aa23067133fa80df009c2245742b3b7749c2e5 (diff)
Accept -c as a command line argument (equivalent to --config)
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{