Permalink
Browse files

Accept -c as a command line argument (equivalent to --config)

  • Loading branch information...
attilamolnar committed Mar 25, 2013
1 parent 25aa230 commit 0ee7c0a97b2428dc7ff6c31becfbafe79a084033
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/inspircd.cpp
View
@@ -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)
{

0 comments on commit 0ee7c0a

Please sign in to comment.