bm_witness at yahoo.com
Tue Jul 30 15:28:04 CEST 2013
> From: Saether Jan-Arve <Jan-Arve.Saether at digia.com>
>To: David Faure <david.faure at kdab.com>; "development at qt-project.org" <development at qt-project.org>
>Sent: Tuesday, July 30, 2013 6:21 AM
>Subject: Re: [Development] QCommandLineParser
>2. Standardize value lists so that they work across shells
>I.e. this doesn't work in all shells:
>Problem is that comma is an argument separator in MS Powershell, the result is that Powershell will effectively call the process with two arguments:
>./init-repository --module-subset=qtbase qtsvg
>It would be great if QCommandLineParser could help people not to shoot themselves in the foot if they want to accept a list of values.
I doubt that is doable as there are far too many shells out there that have all kinds of different behavior.
I would suggest, rather, that you simply note that the correct method for that shell would be to do the following instead:
Or simply do not use that shell.
More information about the Development