]> git.sesse.net Git - vlc/blobdiff - src/misc/configuration.c
Add a note about mandatory argument.
[vlc] / 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 );