Re: Problem with argument parsing

2007-10-10 Thread Steven Bethard
Diez B. Roggisch wrote: > lgwe wrote: > >> On 9 Okt, 17:18, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >>> lgwe wrote: I have a python-script: myscript, used to start a program on another computer and I use OptionParser in optpars. I use it like this: myscript -H host arg1 -x -y

Re: Problem with argument parsing

2007-10-10 Thread Diez B. Roggisch
lgwe wrote: > On 9 Okt, 17:18, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >> lgwe wrote: >> > I have a python-script: myscript, used to start a program on another >> > computer and I use OptionParser in optpars. >> > I use it like this: myscript -H host arg1 -x -y zzz >> > I would like OptionPa

Re: Problem with argument parsing

2007-10-09 Thread lgwe
On 9 Okt, 17:18, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > lgwe wrote: > > I have a python-script: myscript, used to start a program on another > > computer and I use OptionParser in optpars. > > I use it like this: myscript -H host arg1 -x -y zzz > > I would like OptionParser to ignore all a

Re: Problem with argument parsing

2007-10-09 Thread Diez B. Roggisch
lgwe wrote: > I have a python-script: myscript, used to start a program on another > computer and I use OptionParser in optpars. > I use it like this: myscript -H host arg1 -x -y zzz > I would like OptionParser to ignore all arguments after arg1, because > these are options that should be used by

Problem with argument parsing

2007-10-09 Thread lgwe
I have a python-script: myscript, used to start a program on another computer and I use OptionParser in optpars. I use it like this: myscript -H host arg1 -x -y zzz I would like OptionParser to ignore all arguments after arg1, because these are options that should be used by the program started on