Commit cfb432c9 authored by Christophe Mutricy's avatar Christophe Mutricy

Partially revert [20983]. Fix 'vlc -p foo'

parent 913586c4
......@@ -1387,6 +1387,8 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
break;
pp_shortcut ++;
}
if( !*pp_shortcut )
continue;
}
/* Ignore modules without config options */
......@@ -1771,7 +1773,7 @@ static void ListModules( libvlc_int_t *p_this, vlc_bool_t b_verbose )
if( b_verbose )
{
const char **pp_shortcut = p_parser->pp_shortcuts;
const char *const *pp_shortcut = p_parser->pp_shortcuts;
while( *pp_shortcut )
{
if( strcmp( *pp_shortcut, p_parser->psz_object_name ) )
......
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