Skip to content

Fix --list-plugins help text to reference correct --use-plugins flag - #2381

Open
freetg71527152-ui wants to merge 1 commit into
microsoft:mainfrom
freetg71527152-ui:fix/list-plugins-help-typo
Open

Fix --list-plugins help text to reference correct --use-plugins flag#2381
freetg71527152-ui wants to merge 1 commit into
microsoft:mainfrom
freetg71527152-ui:fix/list-plugins-help-typo

Conversation

@freetg71527152-ui

@freetg71527152-ui freetg71527152-ui commented Sep 4, 2026

Copy link
Copy Markdown

Summary

  • The --list-plugins argument's help text referenced --use-plugin (singular), but the actual flag defined a few lines above it is --use-plugins (plural).
  • Anyone copying the flag name straight from markitdown --help output would get an invalid argument.

Change

One-line fix in packages/markitdown/src/markitdown/__main__.py to match the help text to the real flag name.

Test plan

  • Confirmed via source inspection that the argparse flag defined at line 128 (--use-plugins) now matches the corrected help text at line 136.
  • Confirmed the file still parses as valid Python after the change.

🤖 Generated with Claude Code

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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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-plugin with --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.

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