Exit with proper status in case of bad commandline arguments

This commit is contained in:
Mukund Sivaraman 2009-09-15 03:53:18 +05:30
parent 34e23233ce
commit b3065b6d18

View File

@ -198,9 +198,12 @@ process_cmdline (int argc, char **argv)
break;
case 'h':
default:
display_usage ();
exit (EX_OK);
default:
display_usage ();
exit (EX_USAGE);
}
}
}