diff options
| author | 2013-03-25 15:18:20 +0100 | |
|---|---|---|
| committer | 2013-03-25 15:18:20 +0100 | |
| commit | 0ee7c0a97b2428dc7ff6c31becfbafe79a084033 (patch) | |
| tree | 0357ce006efd2775840894e9d375ef8d1875d935 /src/inspircd.cpp | |
| parent | Win32: Rewrite the service wrapper (diff) | |
Accept -c as a command line argument (equivalent to --config)
Diffstat (limited to 'src/inspircd.cpp')
| -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) { |
