diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-03-25 15:18:20 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-03-25 15:18:20 +0100 |
commit | 0ee7c0a97b2428dc7ff6c31becfbafe79a084033 (patch) | |
tree | 0357ce006efd2775840894e9d375ef8d1875d935 /src | |
parent | 25aa23067133fa80df009c2245742b3b7749c2e5 (diff) |
Accept -c as a command line argument (equivalent to --config)
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
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) { |