-
-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options: Add support for "--reset-option-name" for libf3d options #2013
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2013 +/- ##
==========================================
- Coverage 95.68% 95.67% -0.02%
==========================================
Files 126 126
Lines 10198 10238 +40
==========================================
+ Hits 9758 9795 +37
- Misses 440 443 +3 ☔ View full report in Codecov by Sentry. |
250d863
to
633d2c5
Compare
@@ -162,6 +162,8 @@ As documented, only the `--option=value` syntax is supported. The syntax `--opti | |||
|
|||
All options are parsed according to their type, see the [parsing documentation](PARSING.md) for more details. | |||
|
|||
It is possible to reset [libf3d options](../libf3d/OPTIONS.md) to their default value using the `--options=Default` syntax. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not completely convinced this is the right approach. wdyt @Meakk ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like it tbh.
What about --reset-coloring-scalar-bar
?
Warning handling in GCC do something similar with -Wfoo
/-Wno-foo
.
It may be a bit trickier to implement but I'd prefer something like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like that @Meakk ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think it's better and avoid potential issue with the reserved keyword.
Fix #1623