Shawn.Rutledge at digia.com
Tue Jul 30 15:56:11 CEST 2013
On 30 Jul 2013, at 3:28 PM, BRM wrote:
>> 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:
>> ./init-repository --module-subset=qtbase,qtsvg
>> 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.
Like what? There are two nonstandard shells on Windows, but aren't all the Unix/Linux/OSX shells are similar enough for this purpose?
What is a good syntax for list of values which does work with Powershell?
More information about the Development