On Fri, Jul 16, 2010 at 6:40 AM, JMGross <msp...@grossibaer.de> wrote:
>
> Usually, options which start with '-' can appear anywhere in the commandline.
> Most applications first parse the commandline and note all options.
> The order is only important for parameters which are not marked as what they 
> are.
> (in your example, <driver> and [command [...]] have no 'driver' or 'command' 
> marker).
> Some more complex programs might have separate sets of options for, e.g.,
> <driver> and <command>, which maybe have the identical names.
> Then the order matters. But for most it doesn't.
> It's even possible that an options such as --help or --version overrides all
> other parameters, Independently of where in the commandline it is found.

Hi JM,

Thank you for the detailed explanation. This clears things up for
MSPDebug in particular, but also in general for all programs entered
from the commandline. I guess I've long had this fuzzy notion that
this was the case, but having it spelled out clearly really helps.

Thanks again,

John

Reply via email to