Commit 07091048 authored by John Hodge's avatar John Hodge
Browse files

Client - Quit when --help/-h is passed

parent 68cc05f1
......@@ -855,7 +855,7 @@ int ParseArguments(int argc, char *argv[])
case 'h':
case '?':
ShowUsage();
return 0;
exit(0);
case 'c':
if( i > 2 && strcmp(argv[i-1], "type") == 0 )
......@@ -950,7 +950,7 @@ int ParseArguments(int argc, char *argv[])
case '-':
if( strcmp(argv[i], "--help") == 0 ) {
ShowUsage();
return 0;
exit(0);
}
else if( strcmp(argv[i], "--dry-run") == 0 ) {
gbDryRun = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment