103 lines
4.6 KiB
Diff
103 lines
4.6 KiB
Diff
--- doc/doc.gpm.in
|
|
+++ doc/doc.gpm.in
|
|
@@ -450,16 +450,6 @@
|
|
@item -v
|
|
Print version information and exit.
|
|
|
|
-@item -V[@var{verbosity increment}]
|
|
- Raise or decrease the maximum level of messages that will be
|
|
- logged. Thus a positive argument has the effect of making the
|
|
- program more verbose. One can also give a negative argument to
|
|
- hush the program; due to @b{getopt(3)} rules, any optional
|
|
- argument needs to be passed without a space in between!
|
|
- When omitting the argument, the increment defaults to 1.
|
|
- Default verbosity level is 5 (@code{LOG_NOTICE}).
|
|
- @xref{Program Arguments,,,libc}.
|
|
-
|
|
@item -2
|
|
Force two buttons. This means that the middle button, if any,
|
|
will be taken as it was the right one.
|
|
@@ -1993,15 +1993,6 @@
|
|
mechanism. This is useful for debugging; in previous releases
|
|
it was done with a compile-time option.
|
|
|
|
-@item -V @var{verbosity increment}
|
|
- Raise the maximum level of messages that will be logged. Thus a
|
|
- positive argument has the effect of making the program more
|
|
- verbose. One can also give a negative argument to hush the
|
|
- program; however, note that due to @b{getopt(3)} rules a negative
|
|
- argument must follow the option with no space betwixt (that is,
|
|
- @samp{-V-1} but not @samp{-V -1}). @xref{Program Arguments,,,libc}.
|
|
- The argument is optional and its default value is 1.
|
|
-
|
|
@end table
|
|
|
|
Each time a menu is drawn, the configuration file is reparsed if it has
|
|
--- doc/gpm.info
|
|
+++ doc/gpm.info
|
|
@@ -333,16 +333,6 @@
|
|
`-v'
|
|
Print version information and exit.
|
|
|
|
-`-V[VERBOSITY INCREMENT]'
|
|
- Raise or decrease the maximum level of messages that will be
|
|
- logged. Thus a positive argument has the effect of making the
|
|
- program more verbose. One can also give a negative argument to
|
|
- hush the program; due to getopt(3) rules, any optional argument
|
|
- needs to be passed without a space in between! When omitting the
|
|
- argument, the increment defaults to 1. Default verbosity level is
|
|
- 5 (`LOG_NOTICE'). *Note Program Arguments: (libc)Program
|
|
- Arguments.
|
|
-
|
|
`-2'
|
|
Force two buttons. This means that the middle button, if any, will
|
|
be taken as it was the right one.
|
|
@@ -1606,15 +1606,6 @@
|
|
mechanism. This is useful for debugging; in previous releases it
|
|
was done with a compile-time option.
|
|
|
|
-`-V VERBOSITY INCREMENT'
|
|
- Raise the maximum level of messages that will be logged. Thus a
|
|
- positive argument has the effect of making the program more
|
|
- verbose. One can also give a negative argument to hush the
|
|
- program; however, note that due to getopt(3) rules a negative
|
|
- argument must follow the option with no space betwixt (that is,
|
|
- `-V-1' but not `-V -1'). *Note Program Arguments: (libc)Program
|
|
- Arguments. The argument is optional and its default value is 1.
|
|
-
|
|
Each time a menu is drawn, the configuration file is reparsed if it
|
|
has changed. This allows modification of personal setup without
|
|
reinvoking the daemon.
|
|
--- src/prog/gpm-root.y
|
|
+++ src/prog/gpm-root.y
|
|
@@ -868,7 +868,6 @@
|
|
" -m <number-or-name> modifier to use\n"
|
|
" -u inhibit user configuration files\n"
|
|
" -D don't auto-background and run as daemon\n"
|
|
- " -V <verbosity-delta> increase amount of logged messages\n"
|
|
);
|
|
|
|
return 1;
|
|
--- src/gpn.c
|
|
+++ src/gpn.c
|
|
@@ -281,6 +281,7 @@
|
|
case 'u': option.autodetect = 1; break;
|
|
case 'T': opt_test++; break;
|
|
case 'v': printf(GPM_MESS_VERSION "\n"); exit(0);
|
|
+ case 'V': break; /* gpm_debug_level not supported anymore */
|
|
case '2': opt_three = -1; break;
|
|
case '3': opt_three = 1; break;
|
|
default: exit(usage("commandline"));
|
|
--- src/headers/message.h
|
|
+++ src/headers/message.h
|
|
@@ -98,8 +98,7 @@
|
|
" -t mouse-type sets mouse type (default '%s')\n" \
|
|
" Use a non-existent type (e.g. \"help\") to get a list\n" \
|
|
" -T test: read mouse, no clients\n" \
|
|
- " -v print version and exit\n" \
|
|
- " -V verbosity increase number of logged messages\n\n\n" \
|
|
+ " -v print version and exit\n\n\n" \
|
|
" Examples:\n\n" \
|
|
" gpm -m /dev/misc/psaux -t ps2 to start with a ps2 mouse\n" \
|
|
" gpm -m /dev/tts/0 -t mman to use mouse man on COM1\n\n"
|