~siretart/vlc/ubuntu

« back to all changes in this revision

Viewing changes to src/config/cmdline.c

  • Committer: Reinhard Tartler
  • Date: 2008-09-26 06:45:40 UTC
  • mto: (21.2.1 vlc-0.9.3)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: siretart@tauware.de-20080926064540-0sd8zwmig33ksmy4
Tags: upstream-ubuntu-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * cmdline.c: command line parsing
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2001-2007 the VideoLAN team
5
 
 * $Id$
 
5
 * $Id: 961b2a343a2b450dec3a05c36463900423b678c6 $
6
6
 *
7
7
 * Authors: Gildas Bazin <gbazin@videolan.org>
8
8
 *
283
283
                    psz_name = p_conf->psz_name;
284
284
                }
285
285
 
 
286
               if( p_conf->i_type != CONFIG_ITEM_BOOL && !optarg )
 
287
               {
 
288
                   fprintf( stderr, "Warning: missing argument for option --%s\n", p_conf->psz_name );
 
289
                   fprintf( stderr, "Try specifying options as '--optionname=value' instead of '--optionname value'\n" );
 
290
                   continue;
 
291
               }
 
292
 
 
293
 
286
294
                switch( p_conf->i_type )
287
295
                {
288
296
                    case CONFIG_ITEM_STRING: