Exit immediately upon unsupported options
This commit is contained in:
parent
136367ebf8
commit
4b26da1d86
|
@ -185,6 +185,7 @@ int main(int argc, char * argv[])
|
|||
/* FIXME implement */
|
||||
fprintf(stderr, "%s%c%s", PROGNAME ": -", o,
|
||||
": Not yet implemented\n");
|
||||
return 2;
|
||||
default:
|
||||
return _usage();
|
||||
}
|
||||
|
|
|
@ -235,6 +235,7 @@ int main(int argc, char * argv[])
|
|||
case 'P':
|
||||
fprintf(stderr, "%s%c%s", PROGNAME ": -", o,
|
||||
": Not yet implemented\n");
|
||||
return 2;
|
||||
default:
|
||||
return _usage();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user