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

CLI: libvlc -> vlc

(cherry picked from commit eb74f351)
(cherry picked from commit 924a0672)
parent a92cdf58
...@@ -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( "vlc: unknown option"
" or missing mandatory argument ", " or missing mandatory argument ", stderr );
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", fputs( "Try `vlc --help' for more information.\n", stderr );
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