aboutsummaryrefslogtreecommitdiff
path: root/rmihidtool
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2016-06-13 11:57:58 -0700
committerAndrew Duggan <aduggan@synaptics.com>2016-06-13 11:58:10 -0700
commit9c30400e52e2dbcb945f0b2eba2222b4ef6e1cb7 (patch)
tree2a2b4cdd0e8206cf8d33c3cfc03fce7108f4308e /rmihidtool
parentb5d8d223ed471f89fa44f7f75f4dbc9140cd8e12 (diff)
downloadrmi4utils-9c30400e52e2dbcb945f0b2eba2222b4ef6e1cb7.tar.gz
Fix minor issues in the help text
Diffstat (limited to 'rmihidtool')
-rw-r--r--rmihidtool/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rmihidtool/main.cpp b/rmihidtool/main.cpp
index 3d86705..a2d0643 100644
--- a/rmihidtool/main.cpp
+++ b/rmihidtool/main.cpp
@@ -58,11 +58,11 @@ void print_help(const char *prog_name)
{
fprintf(stdout, "Usage: %s [OPTIONS] DEVICEFILE\n", prog_name);
fprintf(stdout, "\t-h, --help\t\t\t\tPrint this message\n");
- fprintf(stdout, "\t-d, --device\t\t\thidraw device file associated with the device.\n");
+ fprintf(stdout, "\t-d, --device\t\t\t\thidraw device file associated with the device.\n");
fprintf(stdout, "\t-p, --protocol [protocol]\t\tSet which transport prototocl to use.\n");
fprintf(stdout, "\t-i, --interactive\t\t\tRun in interactive mode.\n");
fprintf(stdout, "\t-r, --read [address] [length]\t\tRead registers starting at the address.\n");
- fprintf(stdout, "\t-r, --write [address] [length] [data]\tWrite registers starting at the address.\n");
+ fprintf(stdout, "\t-w, --write [address] [length] [data]\tWrite registers starting at the address.\n");
fprintf(stdout, "\t-f, --firmware-id\t\t\tPrint the firmware id\n");
fprintf(stdout, "\t-c, --config-id\t\t\t\tPrint the config id\n");
fprintf(stdout, "\t-o, --props\t\t\t\tPrint device properties\n");