[vlc-devel] commit: CLI: libvlc -> vlc ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Sep 6 12:58:44 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Sep 6 14:01:54 2008 +0300| [eb74f3514244127b969bc69e9a837d30f90768c8] | committer: Rémi Denis-Courmont
CLI: libvlc -> vlc
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb74f3514244127b969bc69e9a837d30f90768c8
---
src/config/cmdline.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/config/cmdline.c b/src/config/cmdline.c
index 4ea2e6a..d2b92f5 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 );
More information about the vlc-devel
mailing list