diff options
author | grog <grog@FreeBSD.org> | 2006-11-23 05:07:32 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2006-11-23 05:07:32 +0000 |
commit | f5276a96300c8c43238203a72f20be1cddb8eb52 (patch) | |
tree | 85b4343fe37a453744d6a73da657fdbdc179d71c /usr.bin | |
parent | c7bcd7c5182cdfbbe1d99da465b1e6861de7ac98 (diff) | |
download | FreeBSD-src-f5276a96300c8c43238203a72f20be1cddb8eb52.zip FreeBSD-src-f5276a96300c8c43238203a72f20be1cddb8eb52.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/usbhidctl/usbhid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/usbhidctl/usbhid.c b/usr.bin/usbhidctl/usbhid.c index 82072f0..08968c2 100644 --- a/usr.bin/usbhidctl/usbhid.c +++ b/usr.bin/usbhidctl/usbhid.c @@ -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: |