mumap mods;
mcmap mods2;
/* Create a libvlc structure */
-
- libvlc_exception_t ex;
- libvlc_exception_init(&ex);
-
const char *argv[i_argc + 1];
argv[0] = "vlc";
for( int i = 0; i < i_argc; i++ )
argv[i+1] = ppsz_argv[i];
- libvlc_instance_t *p_libvlc_instance = libvlc_new(i_argc+1, argv, &ex);
+ libvlc_instance_t *p_libvlc_instance = libvlc_new(i_argc+1, argv);
- if( !p_libvlc_instance || libvlc_exception_raised(&ex) )
+ if( !p_libvlc_instance )
{
- libvlc_exception_clear(&ex);
return 1;
}
- printf("#compdef vlc\n\n"
+ printf("#compdef vlc cvlc rvlc svlc mvlc qvlc nvlc\n\n"
"#This file is autogenerated by zsh.cpp\n"
"typeset -A opt_args\n"
printf( " \"(-H)--longhelp[print detailed help]\"\\\n" );
printf( " \"(--list)-l[print a list of available modules]\"\\\n" );
printf( " \"(-l)--list[print a list of available modules]\"\\\n" );
- printf( " \"--save-config[save the current command line options in the config file]\"\\\n" );
printf( " \"--reset-config[reset the current config to the default values]\"\\\n" );
printf( " \"--config[use alternate config file]\"\\\n" );
printf( " \"--reset-plugins-cache[resets the current plugins cache]\"\\\n" );
printf( ":%s:%s\"\\\n", psz_longtext, psz_args );
else
printf( "\"\\\n" );
- printf( " \"(--%s%s)-%c[%s]", psz_option, psz_exclusive,
+
+ printf( " \"(--%s%s)-%c[%s]", psz_option, psz_exclusive ? psz_exclusive : "",
i_short, psz_text );
if( psz_args )
printf( ":%s:%s\"\\\n", psz_longtext, psz_args );