]> git.sesse.net Git - vlc/commitdiff
Add a note about mandatory argument.
authorChristophe Mutricy <xtophe@videolan.org>
Thu, 26 May 2005 17:53:36 +0000 (17:53 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Thu, 26 May 2005 17:53:36 +0000 (17:53 +0000)
src/misc/configuration.c

index bb44c07271d0932bc08d76e2316cc5c25ac672c6..c22f16e285e07d20c28f5ba956e6670e414ec118 100644 (file)
@@ -1661,8 +1661,9 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[],
         /* Internal error: unknown option */
         if( !b_ignore_errors )
         {
-            fprintf( stderr, "%s: unknown option ",
-                             p_this->p_vlc->psz_object_name );
+            fprintf( stderr, "%s: unknown option"
+                     " or missing mandatory argument ",
+                     p_this->p_vlc->psz_object_name );
             if( optopt )
             {
                 fprintf( stderr, "`-%c'\n", optopt );