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