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

CLI: libvlc -> vlc

parent f44cc88b
...@@ -370,9 +370,8 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, ...@@ -370,9 +370,8 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc,
/* Internal error: unknown option */ /* Internal error: unknown option */
if( !b_ignore_errors ) if( !b_ignore_errors )
{ {
fprintf( stderr, "%s: unknown option" fputs( stderr, "vlc: unknown option"
" or missing mandatory argument ", " or missing mandatory argument " );
p_this->p_libvlc->psz_object_name );
if( optopt ) if( optopt )
{ {
fprintf( stderr, "`-%c'\n", optopt ); fprintf( stderr, "`-%c'\n", optopt );
...@@ -381,8 +380,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, ...@@ -381,8 +380,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc,
{ {
fprintf( stderr, "`%s'\n", ppsz_argv[optind-1] ); fprintf( stderr, "`%s'\n", ppsz_argv[optind-1] );
} }
fprintf( stderr, "Try `%s --help' for more information.\n", fprintf( stderr, "Try `vlc --help' for more information.\n" );
p_this->p_libvlc->psz_object_name );
for( i_index = 0; p_longopts[i_index].name; i_index++ ) for( i_index = 0; p_longopts[i_index].name; i_index++ )
free( (char *)p_longopts[i_index].name ); free( (char *)p_longopts[i_index].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