[ scummvm-Patches-1726251 ] Reject long commandline parameters that lack the option

SourceForge.net noreply at sourceforge.net
Sun May 27 01:25:28 CEST 2007


Patches item #1726251, was opened at 2007-05-27 01:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1726251&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jordi Vilalta (jvprat)
Assigned to: Nobody/Anonymous (nobody)
Summary: Reject long commandline parameters that lack the option

Initial Comment:
Currently the long commandline parameters are simply ignored if they don't have the needed option. For example running:

scummvm --config
scummvm --config=

has no effect, while running

scummvm -c

gives this message:

scummvm: Option '-c' requires an argument


The attached patch modifies the long parameters behavior to be coherent with the short ones.

It also reuses the message in DO_OPTION_INT.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1726251&group_id=37116




More information about the Scummvm-tracker mailing list