Repository navigation
fix: stop a serve comment from naming placeholder flags - #2615
Merged
Merged
Conversation
The comment #2612 added in run_serve_async called the toggle pairs `--x` / `--no-x`. tests/cli_help_consistency.rs scans src/commands for flag names and requires each one to exist in some help output, so every_flag_named_in_command_source_exists_in_some_help failed on main. The comment now says "on/off flag pairs". Found by make verify-rocm-held on main 1c520eb (13,881 passed, this 1 failed); cli_help_consistency passes 27/27 with the change. Refs #2609
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A comment that #2612 added in
run_serve_async(src/commands/serve.rs) named the toggle pairs--x/--no-x.tests/cli_help_consistency.rsscanssrc/commandsfor flag names and requires each to appear in some help output, soevery_flag_named_in_command_source_exists_in_some_helpfailed on main. The comment now says "on/off flag pairs". No code change.Found by the post-merge
make verify-rocm-heldgate on main1c520eb1(13,881 passed, this one failed). With the change,cargo test --features rocm -p mlxcel --test cli_help_consistencypasses 27/27 andcargo fmt --checkis clean.Refs #2609