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

Add silent flag to CommandCapabilities #2485

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

schaefi
Copy link
Collaborator

@schaefi schaefi commented Feb 27, 2024

an instance of CommandCapabilities allows to check for specific options of a command. If the parsing of options has failed a warning message is created by default. Under certain circumstances like the check for the --help option of setfiles, such a warning message can be misleading information in the build log file. Therefore the new silent flag allows to suppress the warning message and the flag is used for the capabilities of the setfiles utility. This Fixes #2350

an instance of CommandCapabilities allows to check for specific
options of a command. If the parsing of options has failed a
warning message is created by default. Under certain circumstances
like the check for the --help option of setfiles, such a warning
message can be misleading information in the build log file.
Therefore the new silent flag allows to suppress the warning
message and the flag is used for the capabilities of the
setfiles utility. This Fixes #2350
@schaefi schaefi requested a review from Conan-Kudo February 27, 2024 20:09
@schaefi schaefi self-assigned this Feb 27, 2024
@Conan-Kudo Conan-Kudo merged commit b4fc8fb into main Feb 28, 2024
15 checks passed
@Conan-Kudo Conan-Kudo deleted the fix_misleading_warning_message branch February 28, 2024 00:28
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.

Misleading "Could not parse setfiles output" warning
2 participants