Fix --list-plugins help text to reference correct --use-plugins flag - #2381
Open
freetg71527152-ui wants to merge 1 commit into
Open
Fix --list-plugins help text to reference correct --use-plugins flag#2381freetg71527152-ui wants to merge 1 commit into
freetg71527152-ui wants to merge 1 commit into
Conversation
The help string said "--use-plugin" (singular) while the actual argument is "--use-plugins" (plural), so copying the text from --help would produce an invalid flag. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The corrected help text now matches the existing flag, with no unresolved issues.
Pull request overview
Corrects the --list-plugins help text to reference the valid plural flag.
Changes:
- Replaces
--use-pluginwith--use-plugins.
File summaries
| File | Description |
|---|---|
packages/markitdown/src/markitdown/__main__.py |
Aligns the help text with the defined CLI option. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Summary
--list-pluginsargument's help text referenced--use-plugin(singular), but the actual flag defined a few lines above it is--use-plugins(plural).markitdown --helpoutput would get an invalid argument.Change
One-line fix in
packages/markitdown/src/markitdown/__main__.pyto match the help text to the real flag name.Test plan
--use-plugins) now matches the corrected help text at line 136.🤖 Generated with Claude Code