[vlc-devel] commit: libvlc: Don't print help on module help. (Pierre d'Herbemont )

git version control git at videolan.org
Mon Jul 7 01:00:07 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Mon Jul  7 01:02:21 2008 +0200| [71930a9889c5687221e108c65106e8a31104355b]

libvlc: Don't print help on module help.

It's already in the help.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71930a9889c5687221e108c65106e8a31104355b
---

 src/libvlc.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index bdfd019..8b4dbbc 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1272,12 +1272,6 @@ static int GetFilenames( libvlc_int_t *p_vlc, int i_argc, const char *ppsz_argv[
  *****************************************************************************
  * Print a short inline help. Message interface is initialized at this stage.
  *****************************************************************************/
-static inline void print_help_on_module_help( void )
-{
-    utf8_fprintf( stdout, "\n" );
-    utf8_fprintf( stdout, "To get the VLC module list, use '--list'.\n" );
-    utf8_fprintf( stdout, "To get help on a particular module, use '-p <module_name>'.\n" );
-}
 static inline void print_help_on_full_help( void )
 {
     utf8_fprintf( stdout, "\n" );
@@ -1295,21 +1289,18 @@ static void Help( libvlc_int_t *p_this, char const *psz_help_name )
         utf8_fprintf( stdout, vlc_usage, p_this->psz_object_name );
         Usage( p_this, "help" );
         Usage( p_this, "main" );
-        print_help_on_module_help();
         print_help_on_full_help();
     }
     else if( psz_help_name && !strcmp( psz_help_name, "longhelp" ) )
     {
         utf8_fprintf( stdout, vlc_usage, p_this->psz_object_name );
         Usage( p_this, NULL );
-        print_help_on_module_help();
         print_help_on_full_help();
     }
     else if( psz_help_name && !strcmp( psz_help_name, "full-help" ) )
     {
         utf8_fprintf( stdout, vlc_usage, p_this->psz_object_name );
         Usage( p_this, NULL );
-        print_help_on_module_help();
     }
     else if( psz_help_name )
     {




More information about the vlc-devel mailing list