Commit 28c6dc6e authored by Antoine Cellerier's avatar Antoine Cellerier

Add information about variables having choices to the "vars" command.

parent 2cc38d3f
...@@ -1079,6 +1079,8 @@ static int DumpCommand( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1079,6 +1079,8 @@ static int DumpCommand( vlc_object_t *p_this, char const *psz_cmd,
if( p_var->psz_text ) if( p_var->psz_text )
printf( ", %s", p_var->psz_text ); printf( ", %s", p_var->psz_text );
printf( ")" ); printf( ")" );
if( p_var->i_type & VLC_VAR_HASCHOICE )
printf( ", has choices" );
if( p_var->i_type & VLC_VAR_ISCOMMAND ) if( p_var->i_type & VLC_VAR_ISCOMMAND )
printf( ", command" ); printf( ", command" );
if( p_var->i_entries ) if( p_var->i_entries )
......
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