diff options
author | Nikolai Kondrashov <spbnick@gmail.com> | 2010-08-24 19:22:16 +0400 |
---|---|---|
committer | Nikolai Kondrashov <spbnick@gmail.com> | 2010-08-24 19:22:16 +0400 |
commit | a31b592d9a321e6684ea124ae652fb4e2d96b4c7 (patch) | |
tree | 19806000bf62d7b4d44415481ebe5cf9a73263f3 /src | |
parent | bdcd22d40019acce8f0fb9e98b303876d5b627f9 (diff) | |
download | usbhid-dump-a31b592d9a321e6684ea124ae652fb4e2d96b4c7.tar.gz |
Renamed dump entity "both" to "all"
Renamed dump entity "both" to "all" in preparation for introducing physical
descriptor dumping support.
Diffstat (limited to 'src')
-rw-r--r-- | src/usbhid-dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c index 68e7270..1e64193 100644 --- a/src/usbhid-dump.c +++ b/src/usbhid-dump.c @@ -128,7 +128,7 @@ usage(FILE *stream, const char *progname) " -h, --help output this help message and exit\n" " -v, --version output version information and exit\n" " -e, --entity=STRING what to dump: either \"descriptor\",\n" -" \"stream\" or \"both\"; value can be\n" +" \"stream\" or \"all\"; value can be\n" " abbreviated\n" " -p, --stream-paused start with the stream dump output paused\n" " -f, --stream-feedback enable stream dumping feedback: for every\n" @@ -649,7 +649,7 @@ main(int argc, char **argv) dump_descriptor = false; dump_stream = true; } - else if (strncmp(optarg, "both", strlen(optarg)) == 0) + else if (strncmp(optarg, "all", strlen(optarg)) == 0) { dump_descriptor = true; dump_stream = true; |