-
Notifications
You must be signed in to change notification settings - Fork 207
Miscellaneous improvements to -help messages #44
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
Conversation
@swift-ci please test |
Oops, I missed that failure somehow when running tests locally. It looks like |
I'm dropping the |
@swift-ci please test |
|
||
OPTIONS: | ||
""") | ||
|
||
for option in options { | ||
if option.isAlias { continue } | ||
if option.isHelpHidden && !includeHidden { continue } | ||
guard option.isAccepted(by: driverKind) else { continue } |
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.
Is this still meant to be in?
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.
Yeah, I think this is ok. As far as I can tell the current version of the acceptance check only fails to reject some invalid options, it doesn’t reject any valid ones.
@swift-ci please test |
Merge pull request apple#44 from owenv/help-updates
update isAccepted(by:) to reject no-driver options in batch & interactive mode