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:
Greg Lehey 2006-11-23 05:07:32 +00:00
parent 4bd2dcb8aa
commit eb29cfdd00
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164544

View File

@ -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: