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

uucore: don't show error for ambiguous value #5127

Merged

Conversation

cakebaker
Copy link
Contributor

This PR fixes a bug in ShortcutValueParser. Currently, if a provided value is ambiguous but a direct match of a possible value, an error is shown. With the fix, the matched value is returned.

that's a direct match in ShortcutValueParser
@cakebaker cakebaker force-pushed the uucore_fix_shortcut_value_parser branch from 97786a5 to ec27a07 Compare August 1, 2023 06:39
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

GNU testsuite comparison:

Skip an intermittent issue tests/tail-2/inotify-dir-recreate

@tertsdiepraam tertsdiepraam merged commit 0a4f833 into uutils:main Aug 11, 2023
@cakebaker cakebaker deleted the uucore_fix_shortcut_value_parser branch August 11, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants