Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion p2pApp/gwmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ void getargs(ServerConfig& arg, int argc, char *argv[])
while( (opt=getopt(argc, argv, "qvhiIC"))!=-1)
{
switch(opt) {
case 'h':
usage(argv[0]);
exit(0);
case 'q':
arg.debug--;
break;
Expand All @@ -90,7 +93,6 @@ void getargs(ServerConfig& arg, int argc, char *argv[])
break;
default:
std::cerr<<"Unknown argument -"<<char(opt)<<"\n";
case 'h':
usage(argv[0]);
exit(1);
}
Expand Down