Re: [Plplot-devel] plparseopts return value

2010-04-18 Thread Hezekiah M. Carty
On Tue, Mar 9, 2010 at 3:24 PM, David MacMahon dav...@astro.berkeley.edu wrote: I think plparseopts returns -1 (i.e. an error) if PL_MODE_SKIP is given and the last argument is unknown (i.e. skipped).  If the same command line arguments are reordered such that the last argument is known (i.e.

Re: [Plplot-devel] plparseopts return value

2008-12-08 Thread Andrew Ross
Hez, See the comments in src/plargs.c The default action taken by plparseopts() is as follows: - Returns with an error if an unrecognized option or badly formed option-value pair are encountered. - Returns immediately (return code 0) when the first non-option command line argument is