mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
tools: remove obsolete comments
With the OPT_foo enums, these comments aren't necessary anymore Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8baf05ebdd
commit
6b2afee368
1 changed files with 4 additions and 4 deletions
|
|
@ -149,11 +149,11 @@ tools_parse_args(int argc, char **argv, struct tools_options *options)
|
|||
break;
|
||||
|
||||
switch(c) {
|
||||
case 'h': /* --help */
|
||||
case 'h':
|
||||
case OPT_HELP:
|
||||
tools_usage();
|
||||
exit(0);
|
||||
case OPT_DEVICE: /* --device */
|
||||
case OPT_DEVICE:
|
||||
options->backend = BACKEND_DEVICE;
|
||||
if (!optarg) {
|
||||
tools_usage();
|
||||
|
|
@ -161,12 +161,12 @@ tools_parse_args(int argc, char **argv, struct tools_options *options)
|
|||
}
|
||||
options->device = optarg;
|
||||
break;
|
||||
case OPT_UDEV: /* --udev */
|
||||
case OPT_UDEV:
|
||||
options->backend = BACKEND_UDEV;
|
||||
if (optarg)
|
||||
options->seat = optarg;
|
||||
break;
|
||||
case OPT_VERBOSE: /* --verbose */
|
||||
case OPT_VERBOSE:
|
||||
options->verbose = 1;
|
||||
break;
|
||||
case OPT_TAP_ENABLE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue