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