1
0

simplify synopsis

This commit is contained in:
dtb 2023-12-12 19:27:35 -07:00
parent 23d7945c4d
commit a3f3be0c88
2 changed files with 2 additions and 7 deletions

View File

@ -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... ]

View File

@ -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;
}