]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
libvlc: Don't print help on module help.
[vlc] / src / libvlc.c
index bdfd019a3fd1227c3d2d741336d1a53221cd77ae..8b4dbbcdb7066211681a7d9fc2da68d47b4d6484 100644 (file)
@@ -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 )
     {