Commit fd4ef130 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

help: print module name also for main

parent 7b226da6
...@@ -347,16 +347,13 @@ static void Usage (vlc_object_t *p_this, char const *psz_search) ...@@ -347,16 +347,13 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
b_found = true; b_found = true;
/* Print name of module */ /* Print name of module */
if( strcmp( "main", objname ) ) if( b_color )
{ utf8_fprintf( stdout, "\n " GREEN "%s" GRAY " (%s)\n",
if( b_color ) module_gettext( p_parser, p_parser->psz_longname ),
utf8_fprintf( stdout, "\n " GREEN "%s" GRAY " (%s)\n", objname );
module_gettext( p_parser, p_parser->psz_longname ), else
objname ); utf8_fprintf( stdout, "\n %s\n",
else module_gettext(p_parser, p_parser->psz_longname ) );
utf8_fprintf( stdout, "\n %s\n",
module_gettext(p_parser, p_parser->psz_longname ) );
}
if( p_parser->psz_help ) if( p_parser->psz_help )
{ {
if( b_color ) if( b_color )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment