usage: Include the - in the x flag.
main: Make -x set the hexdump; there's no obvious reason to toggle it. Nitpicked by: ru MFC after: 1 week
This commit is contained in:
parent
4bd2dcb8aa
commit
eb29cfdd00
@ -97,11 +97,11 @@ usage(void)
|
||||
|
||||
fprintf(stderr,
|
||||
"usage: %s -f device "
|
||||
"[-l] [-n] [-r] [-t tablefile] [-v] [x] name ...\n",
|
||||
"[-l] [-n] [-r] [-t tablefile] [-v] [-x] name ...\n",
|
||||
__progname);
|
||||
fprintf(stderr,
|
||||
" %s -f device "
|
||||
"[-l] [-n] [-r] [-t tablefile] [-v] [x] -a\n",
|
||||
"[-l] [-n] [-r] [-t tablefile] [-v] [-x] -a\n",
|
||||
__progname);
|
||||
exit(1);
|
||||
}
|
||||
@ -298,7 +298,7 @@ main(int argc, char **argv)
|
||||
verbose++;
|
||||
break;
|
||||
case 'x':
|
||||
hexdump ^= 1;
|
||||
hexdump = 1;
|
||||
break;
|
||||
case '?':
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user