]> git.sesse.net Git - vlc/commitdiff
Print the module name in help output (else the user has no way to link the vlc -...
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 1 Sep 2008 22:55:36 +0000 (00:55 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 1 Sep 2008 23:11:08 +0000 (01:11 +0200)
src/libvlc.c

index 09f00b4afcc51cf14f25cba7c977a37bae65fd80..fc4af050e37e4ab203f70831a8a7b4ce812008b1 100644 (file)
@@ -1478,8 +1478,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 );
         }