[vlc-devel] commit: CLI: libvlc -> vlc ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 7 19:48:15 CEST 2008
vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Sep 6 14:01:54 2008 +0300| [3d9e558f52d577c7dd1063bd79245b9cec8ad87d] | committer: Rémi Denis-Courmont
CLI: libvlc -> vlc
(cherry picked from commit eb74f3514244127b969bc69e9a837d30f90768c8)
(cherry picked from commit 924a06728da08d5d41ed992e5cefc209bbe65f3f)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d9e558f52d577c7dd1063bd79245b9cec8ad87d
---
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..7860e42 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( "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 );
More information about the vlc-devel
mailing list