diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-19 17:13:38 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-22 17:48:12 +1000 |
commit | 8728b5b38f4999b79c3ed954e5f584e48e784902 (patch) | |
tree | 28db2aeeb1bb26d09b3e8a43d7d470f670d65d04 /tools/libinput-measure.c | |
parent | 933ab0e95f573ed60a4bce80e3331d0e9f2a4c82 (diff) | |
download | libinput-8728b5b38f4999b79c3ed954e5f584e48e784902.tar.gz |
tools: shorten the --help output for the commands
The full information is now in the man page, the usage() now just tells you
how to use it. This way there's only one place to maintain it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/libinput-measure.c')
-rw-r--r-- | tools/libinput-measure.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tools/libinput-measure.c b/tools/libinput-measure.c index af9c1cfb..9b489ed2 100644 --- a/tools/libinput-measure.c +++ b/tools/libinput-measure.c @@ -38,20 +38,7 @@ static inline void usage(void) { - printf("Usage: libinput measure [--help] FEATURE [/dev/input/event0]\n"); - printf("\n" - "Collect measurements related to FEATURE on the given device.\n" - "\n" - "Options:\n" - "--help ...... show this help\n" - "\n" - "Available features are:\n" - " touchpad-tap-time\n" - " Measures the time for tap-to-click interactions\n" - " " - "For information about each feature, see the --help output for that feature.\n" - "\n" - "This tool requires access to the /dev/input/eventX nodes.\n"); + printf("Usage: libinput measure [--help] <feature> [/dev/input/event0]\n"); } int |