summaryrefslogtreecommitdiff
path: root/tools/shared.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-06-19 17:13:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-06-22 17:48:12 +1000
commit8728b5b38f4999b79c3ed954e5f584e48e784902 (patch)
tree28db2aeeb1bb26d09b3e8a43d7d470f670d65d04 /tools/shared.c
parent933ab0e95f573ed60a4bce80e3331d0e9f2a4c82 (diff)
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/shared.c')
-rw-r--r--tools/shared.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/tools/shared.c b/tools/shared.c
index 5eaca3f..7df9f68 100644
--- a/tools/shared.c
+++ b/tools/shared.c
@@ -97,41 +97,6 @@ tools_usage(const char *command)
{
printf("Usage: libinput %s [options] [--udev [<seat>]|--device /dev/input/event0]\n",
command);
- printf("--udev <seat>.... Use udev device discovery (default).\n"
- " Specifying a seat ID is optional.\n"
- "--device /path/to/device .... open the given device only\n"
- "\n"
- "Features:\n"
- "--enable-tap\n"
- "--disable-tap.... enable/disable tapping\n"
- "--enable-drag\n"
- "--disable-drag.... enable/disable tap-n-drag\n"
- "--enable-drag-lock\n"
- "--disable-drag-lock.... enable/disable tapping drag lock\n"
- "--enable-natural-scrolling\n"
- "--disable-natural-scrolling.... enable/disable natural scrolling\n"
- "--enable-left-handed\n"
- "--disable-left-handed.... enable/disable left-handed button configuration\n"
- "--enable-middlebutton\n"
- "--disable-middlebutton.... enable/disable middle button emulation\n"
- "--enable-dwt\n"
- "--disable-dwt..... enable/disable disable-while-typing\n"
- "--set-click-method=[none|clickfinger|buttonareas] .... set the desired click method\n"
- "--set-scroll-method=[none|twofinger|edge|button] ... set the desired scroll method\n"
- "--set-scroll-button=BTN_MIDDLE ... set the button to the given button code\n"
- "--set-profile=[adaptive|flat].... set pointer acceleration profile\n"
- "--set-speed=<value>.... set pointer acceleration speed (allowed range [-1, 1]) \n"
- "--set-tap-map=[lrm|lmr] ... set button mapping for tapping\n"
- "--show-keycodes.... show all key codes while typing\n"
- "\n"
- "These options apply to all applicable devices, if a feature\n"
- "is not explicitly specified it is left at each device's default.\n"
- "\n"
- "Other options:\n"
- "--grab .......... Exclusively grab all openend devices\n"
- "--help .......... Print this help.\n"
- "--verbose ....... Print debugging output.\n"
- "--quiet ......... Only print libinput messages, useful in combination with --verbose.\n");
}
void