[vlc-devel] [PATCH 2/3] help: ignore --advanced

jnqnfe at gmail.com jnqnfe at gmail.com
Wed Apr 25 01:27:22 CEST 2018


On Mon, 2018-04-23 at 20:29 +0300, RĂ©mi Denis-Courmont wrote:
> This seems to be the only remaining user, and it tends to cause more
> problems than it solves (too many different command line help types).

Getting rid of --advanced (or at least its influence on help output)
would mean of course that the only way to get help output including
advanced options would be with --full-help. It seems to me to fulfill a
useful purpose in giving the user choice, just as --help-verbose does.
Is it not desirable to allow users to get help on advanced options
without forcing all the extra output of --full-help on them?

Note, it's also used by the QT interface, showing preferences in
advanced mode if/when opened, although hardly useful.

For the purpose of discussion, to be clear to everyone on the intended
change:

from:

C=Core-opts, P=Plugin-module-opts, A=Include-advanced-opts, V=Include-
verbose-descriptions
C P  A V : Use
---------------------------
Y -  - - : --help
Y -  Y - : --help --advanced
Y -  - Y : --help --help-verbose
Y -  Y Y : --help --advanced --help-verbose
Y Y  - - : --longhelp
Y Y  Y - : --longhelp --advanced
Y Y  - Y : --longhelp --help-verbose
Y Y  Y Y : --full-help (or --longhelp --advanced --helpverbose)

to:

C P  A V : Use
---------------------------
Y -  - - : --help
Y -  Y - : *NOPE*
Y -  - Y : --help --help-verbose
Y -  Y Y : *NOPE*
Y Y  - - : --longhelp
Y Y  Y - : *NOPE*
Y Y  - Y : --longhelp --help-verbose
Y Y  Y Y : --full-help (only)


More information about the vlc-devel mailing list