[vlc-devel] [PATCH 3/3] help: revise text of --full-help and swap order with --longhelp
Lyndon Brown
jnqnfe at gmail.com
Wed Sep 30 21:41:28 CEST 2020
preview:
From: Lyndon Brown <jnqnfe at gmail.com>
Date: Sat, 23 Mar 2019 21:41:33 +0000
Subject: help: revise text of --full-help and swap order with --longhelp
such that they are ordered per increasing amount of info printed
(help -> longhelp [+plugins] -> fullhelp [+longhelptext])
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 89e8cd6998..e0157fe278 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2827,11 +2827,11 @@ vlc_module_begin ()
#define HELP_TEXT \
N_("print help for VLC (can be combined with --help-verbose)")
-#define FULL_HELP_TEXT \
- N_("Exhaustive help for VLC and its modules")
#define LONGHELP_TEXT \
N_("print help for VLC and all its modules (can be combined with " \
"--help-verbose)")
+#define FULL_HELP_TEXT \
+ N_("print complete help (same as --longhelp --help-verbose)")
#define HELP_VERBOSE_TEXT \
N_("ask for extra verbosity when displaying help")
#define LIST_TEXT \
@@ -2856,11 +2856,11 @@ vlc_module_begin ()
add_bool( "help", false, HELP_TEXT, "", false )
change_short( 'h' )
change_volatile ()
+ add_bool( "longhelp", false, LONGHELP_TEXT, "", false )
+ change_volatile ()
add_bool( "full-help", false, FULL_HELP_TEXT, "", false )
change_short( 'H' )
change_volatile ()
- add_bool( "longhelp", false, LONGHELP_TEXT, "", false )
- change_volatile ()
add_bool( "help-verbose", false, HELP_VERBOSE_TEXT, "",
false )
change_volatile ()
More information about the vlc-devel
mailing list