lighten
This commit is contained in:
parent
145071d309
commit
e0ccb05777
@ -5,8 +5,6 @@
|
||||
# include <sysexits.h>
|
||||
#endif
|
||||
|
||||
static char *program_name = "npc";
|
||||
|
||||
int main(int argc, char *argv[]){
|
||||
int c;
|
||||
char showend;
|
||||
@ -23,10 +21,8 @@ int main(int argc, char *argv[]){
|
||||
default: goto usage;
|
||||
}
|
||||
|
||||
if(optind > argc){
|
||||
usage: fprintf(stderr,
|
||||
"Usage: %s (-eht)\n",
|
||||
argv[0] == NULL ? program_name : argv[0]);
|
||||
if(argc > optind){
|
||||
usage: fprintf(stderr, "Usage: %s (-eht)\n", argv[0]);
|
||||
return EX_USAGE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user