Example has too many ='s

From John McCabe-Dansted

"man pola-run" and PolaRun give the following example

pola-run -B --prog=gcc  -a=-c  -fa=foo.c  -a=-o  -faw=foo.o  -f=.

however with the pola-run in plash (1.18-1feisty1) I get the following error:

  pola-run: error: Unrecognised argument: --prog=gcc

Additionally,

pola-run -B --prog echo -a -- -a=-c  -fa=foo.c  -a=-o  -faw=foo.o  -f=.

gives

-- -fa=foo.c -faw=foo.o

So it seems that the = after -a also confuses pola-run.

Perhaps the example should read:

pola-run -B --prog gcc -a -c  -fa=foo.c  -a -o  -faw=foo.o  -f=.

Resolution

Changed to allow use of "=" in more pola-run options: -f=file, --prog=name, --cwd=dir, --env=key=value, --fd=number, --log-file=file, etc. The C implementation had allowed these, but the later Python implementation had regressed.

PlashIssues/PolaRunEqualsSyntax (last edited 2008-04-22 20:27:48 by MarkSeaborn)