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,
/* Internal error: unknown option */
if( !b_ignore_errors )
{
fprintf( stderr, "%s: unknown option"
" or missing mandatory argument ",
p_this->p_libvlc->psz_object_name );
fputs( "vlc: unknown option"
" or missing mandatory argument ", stderr );
if( optopt )
{
fprintf( stderr, "`-%c'\n", optopt );
......@@ -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, "Try `%s --help' for more information.\n",
p_this->p_libvlc->psz_object_name );
fputs( "Try `vlc --help' for more information.\n", stderr );
for( i_index = 0; p_longopts[i_index].name; i_index++ )
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