[Surfraw-devel] Leading dashes in google queries

Andy Valencia ajv-914-325-0787 at vsta.org
Thu Mar 26 14:17:50 UTC 2009


---------------
Hi,

> vandys at deepthought$ google pocketerm -palm
> google ERROR: bad option "-palm". Try google -help for usage information

I think dash arguments should be ignored after the first simple search
term.

> vandys at deepthought$ google -- pocketerm -palm
> google ERROR: bad option "-palm". Try google -help for usage information
> vandys at deepthought$ 

But even if you don't agree with that, you should certainly honor "--"
as ending arguments; this is standard behavior in command line
utilities.

This is version 2.2.1, the latest on Ubuntu.

Thanks,
Andy Valencia



More information about the Surfraw-devel mailing list