Skip to content
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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jkwak-work
Copy link
Collaborator

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.

@jkwak-work jkwak-work added the pr: non-breaking PRs without breaking changes label Aug 12, 2024
@jkwak-work jkwak-work self-assigned this Aug 12, 2024
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.
@jkwak-work jkwak-work force-pushed the fix/remove_Invalid_from_help_page_of_capability branch from ac4889c to 0bc42b6 Compare August 12, 2024 21:07
Copy link
Contributor

@ArielG-NV ArielG-NV left a 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.

@ArielG-NV
Copy link
Contributor

ArielG-NV commented Aug 12, 2024

The list of profile names is still too verbose and not user-friendly but that will need to be addressed later.

This task has a plan to be handled with issue #4125

return (lhsLength < rhsLength);
}
};
names.sort(CompareUnownedStringSlice());
Copy link
Collaborator

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have Math::Min(...)

@jkwak-work
Copy link
Collaborator Author

I will address Yong's comment on Monday.
I was pretty busy (and productive) for the past few days.

@jkwak-work jkwak-work marked this pull request as draft August 28, 2024 22:39
@CLAassistant
Copy link

CLAassistant commented Nov 25, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants