-
Notifications
You must be signed in to change notification settings - Fork 211
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
Remove Invalid
from the supported profile names in help
#4822
base: master
Are you sure you want to change the base?
Remove Invalid
from the supported profile names in help
#4822
Conversation
This commit removes a keyword "Invalid" from the command-line help message. It also prints the profile names in an alphabetrically sorted order for a better searchability.
ac4889c
to
0bc42b6
Compare
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.
The changes look good to me.
This task has a plan to be handled with issue #4125 |
return (lhsLength < rhsLength); | ||
} | ||
}; | ||
names.sort(CompareUnownedStringSlice()); |
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.
why can't this be a lambda?
{ | ||
Count lhsLength = lhs.getLength(); | ||
Count rhsLength = rhs.getLength(); | ||
Count minLength = std::min(lhsLength, rhsLength); |
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.
We have Math::Min(...)
I will address Yong's comment on Monday. |
This commit removes a keyword "Invalid" from the command-line help message.
It also prints the profile names in an alphabetrically sorted order for a better searchability.
The list of profile names is still too verbose and not user-friendly but that will need to be addressed later.