simplify synopsis
This commit is contained in:
parent
23d7945c4d
commit
a3f3be0c88
@ -7,8 +7,7 @@ intcmp \(en compare integers
|
|||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
||||||
intcmp
|
intcmp
|
||||||
.RB ( -h )
|
.RB ( -eghl )
|
||||||
.RB ( -e ( -g )|( -l ))|( -g ( -e )|( -l ))|( -l ( -e )|( -g ))
|
|
||||||
.RB [ integer ]
|
.RB [ integer ]
|
||||||
.RB [ integer... ]
|
.RB [ integer... ]
|
||||||
|
|
||||||
|
@ -36,11 +36,7 @@ int main(int argc, char *argv[]){
|
|||||||
|
|
||||||
if(optind + 2 /* ref cmp */ > argc){
|
if(optind + 2 /* ref cmp */ > argc){
|
||||||
usage: fprintf(stderr,
|
usage: fprintf(stderr,
|
||||||
"Usage: %s (-h)\n"
|
"Usage: %s (-eghl) [integer] [integer...]\n",
|
||||||
"\t" "(-e (-g)|(-l))\n"
|
|
||||||
"\t" "|(-g (-e)|(-l))\n"
|
|
||||||
"\t" "|(-l (-e)|(-g))\n"
|
|
||||||
"\t\t" "[integer] [integer...]\n",
|
|
||||||
argv[0] == NULL ? program_name : argv[0]);
|
argv[0] == NULL ? program_name : argv[0]);
|
||||||
return EX_USAGE;
|
return EX_USAGE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user