-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add -W enabling warnings #19843
base: main
Are you sure you want to change the base?
Add -W enabling warnings #19843
Conversation
3b400b5
to
5e5e390
Compare
5e5e390
to
45e5c50
Compare
fyi @som-snytt |
So #18559, which this PR intends to implement, was assigned to me in this release cycle. So just wanted to check what is the status of this PR? Is it blocked? |
@@ -105,15 +110,22 @@ object Settings: | |||
def isMultivalue: Boolean = summon[ClassTag[T]] == ListTag | |||
|
|||
def acceptsNoArg: Boolean = summon[ClassTag[T]] == BooleanTag || summon[ClassTag[T]] == OptionTag || choices.exists(_.contains("")) | |||
|
|||
s"\n- $name${if description.isEmpty() then "" else s" :\n\t${description.replace("\n","\n\t")}"}" |
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.
this seems to be an unused string value
@Linyxus not blocked, just needs to be finished and merged. I probably won't be able to do that in upcoming 2 weeks, but afterwards I may sit down to it I think. If you want to finish it, go ahead. Just keep in mind that sole -W was previously printing the help, so we may want to keep that behaviour - -X, -Y, etc do the same. |
Add -W