From eb74f3514244127b969bc69e9a837d30f90768c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 6 Sep 2008 14:01:54 +0300 Subject: [PATCH] CLI: libvlc -> vlc --- src/config/cmdline.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/config/cmdline.c b/src/config/cmdline.c index 4ea2e6a149..d2b92f552d 100644 --- a/src/config/cmdline.c +++ b/src/config/cmdline.c @@ -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( stderr, "vlc: unknown option" + " or missing mandatory argument " ); 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 ); + fprintf( stderr, "Try `vlc --help' for more information.\n" ); for( i_index = 0; p_longopts[i_index].name; i_index++ ) free( (char *)p_longopts[i_index].name ); -- 2.39.2