> This is OK -- I need to do it only once :-)
This is fine then - unless getopt behaves differently to popt,
or has less/more features that could cause problems.
>
> > IMHO, it boils down to: do you want/need the gnome/gtk standard
> > command line options, or not?
>
> I do. As I understand it,
Rubens,
On Wed, Jun 16, 2004 at 04:26:14PM -0700, Rubens Ramos wrote:
>
> > I guess so, but it's uglier. Not only that, the actual problem is that
> > I want the program to guess formats if they are not explicitly supplied
> > on the command line. So it should be possible to say
> >
> >./myp
> I guess so, but it's uglier. Not only that, the actual problem is that
> I want the program to guess formats if they are not explicitly supplied
> on the command line. So it should be possible to say
>
>./myprog -i file1 -i file2 -f format2
>
> which means that the file1's format should be
Rubens,
Thanks for your help!
On Tue, Jun 15, 2004 at 08:27:52PM -0700, Rubens Ramos wrote:
>
> I guess the short answer to what you are trying to do is - it is
> not possible, due to some constraints in how the popt wrappers were
> written (please see the "technical yaddayadda" if you are inte
Hi Alex,
I guess the short answer to what you are trying to do is - it is
not possible, due to some constraints in how the popt wrappers were
written (please see the "technical yaddayadda" if you are interested).
However, one workaround is to do it this way:
./myprog -i "file1,file2,file3" -f
Hi,
I'm trying to work out the example from popt.py and few things are
not clear.
Specifically, I can't seem to correctly parse something like this:
./myprog -i file1 -f format1 -i file2 -f format2 -o file3 -f format3
When the second "-i" (or -f, or -o) flags are supplied, they are being ig