[vlc-devel] commit: Print the module name in help output ( else the user has no way to link the vlc --list output to that of the vlc < insert a help command here> output other than by trying all the modules in --list with vlc -p < module name>) (Antoine Cellerier )
git version control
git at videolan.org
Tue Sep 2 13:28:33 CEST 2008
vlc | branch: 0.9-bugfix | Antoine Cellerier <dionoea at videolan.org> | Tue Sep 2 00:55:36 2008 +0200| [3f55ec37433b5e3907f29ea47c6a14a661402807] | committer: Antoine Cellerier
Print the module name in help output (else the user has no way to link the vlc --list output to that of the vlc <insert a help command here> output other than by trying all the modules in --list with vlc -p <module name>)
(cherry picked from commit bd69812b903d04aa686edf486c8c5f043a7aade7)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f55ec37433b5e3907f29ea47c6a14a661402807
---
src/libvlc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 5402c96..b38159c 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1480,8 +1480,9 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
if( strcmp( "main", p_parser->psz_object_name ) )
{
if( b_color )
- utf8_fprintf( stdout, "\n " GREEN "%s" GRAY "\n",
- p_parser->psz_longname );
+ utf8_fprintf( stdout, "\n " GREEN "%s" GRAY " (%s)\n",
+ p_parser->psz_longname,
+ p_parser->psz_object_name );
else
utf8_fprintf( stdout, "\n %s\n", p_parser->psz_longname );
}
More information about the vlc-devel
mailing list