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. not skipped), plparseopts will return 0 (i.e. no error).   
I think this can be fixed by moving the "status = 0;" line from the  
end of the "if ( status == -1 )" block to the beginning of that block  
(i.e. before the "if ( mode_skip )" block).  Not a high priority, IMHO.

Dave


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to