povray icon indicating copy to clipboard operation
povray copied to clipboard

Port of FS41 - improve command-line parsing error messages

Open wfpokorny opened this issue 8 years ago • 1 comments

http://bugs.povray.org/task/41


Details:

POV-Ray 3.6, upon encountering problems when parsing command line and/or .ini file options, would quote the offending option in the error message.

POV-Ray 3.7 currently just reports that there is some problem with the command line, without providing any details. I suggest changing this, as the information may be helpful at times.


Coments:


Comment by Thorsten Fröhlich (thorsten) - Tuesday, 23 August 2011, 11:45 GMT+5

IIRC this feature was added some time ago, wasn't it? Coments:


Comment by Christoph Lipka (clipka) - Thursday, 25 August 2011, 20:39 GMT+5

Don't know what I was seeing back then; I just tried a few things and can't reproduce it now (which fits the code as I see it, and as it seems to have been for ages). Coments:


Comment by Richard Callwood III (Cousin_Ricky) - Sunday, 02 February 2014, 17:07 GMT+5

Why is this considered a feature request rather than a bug? It is the failure/disabling of a feature that existed in 3.6. Coments:


Comment by Richard Callwood III (Cousin_Ricky) - Monday, 03 February 2014, 12:37 GMT+5

The problem still exists in version 3.7.0 final. It is also inherited by UberPOV. Coments:


Comment by Christoph Lipka (clipka) - Monday, 03 February 2014, 12:42 GMT+5

Field changed: Due in Version (3.70 release -> Undecided)
Field changed: Operating System (All -> Linux)

Re-opened: While the Windows version does a nice job reporting command-line errors, the Linux version doesn't.

We should re-structure the code to have all versions share one and the same piece of code for command-line parsing (and related error-reporting).

wfpokorny avatar Dec 10 '16 14:12 wfpokorny

For the records: I guess fixing this would go deeper than we'd be comfortable with while we prepare for the v3.8.0 release.

c-lipka avatar Jun 16 '21 12:06 c-lipka