[Psi-devel] IceRAM's CLI options patch?
Mircea Bardac
dev.list at mircea.bardac.net
Fri Aug 25 08:21:30 PDT 2006
On Friday 25 August 2006 16:54, Maciek Niedzielski wrote:
> Mircea Bardac wrote:
> > I'm curious to see exactly how you want to send the QStringList as CLI
> > argument(s). The reason for this is that, under POSIX standards, a CLI
> > option (--uri) can have only one argument (one_something)
>
> I guess I need to put "sorry for my bad English in my signature" ;)
>
> What I meant to say is: I'm sending a list of strings between psi
> instances (via a very simple IPC). I know it would be enough just to
> pass one string (the URI), but I know that sooner or later I'd regret
> taking this simple approach, because one day I will want to do something
> else than just opening URI.
I've asked this because I wanted to know how you're planning to send the
string list to the command line, as in:
a) ./psi --uri string1 string2 string3 string4
b) ./psi --uri string1,string2,string3,string4
The first case is non-POSIX compliant, because one option (--uri) can have
only one argument (string1). In the 2nd case, the argument
is "string1,string2,string3,string4".
Or, now that I'm thinking, maybe you wanted to say that the string list is
actually a list of options (with their arguments)...
Mircea
/IceRAM
--
Psi Forums Moderator/Bug Tracker Manager
Psi Windows Installer Maintainer/ArchLinux Package Maintainer
http://mircea.bardac.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/psi-devel-affinix.com/attachments/20060825/20d4abee/attachment.pgp
More information about the psi-devel
mailing list