Skip to content

Fix copy-paste error in -w/--whitelist-regex docs#190

Open
TejasAmle wants to merge 1 commit into
econchick:masterfrom
TejasAmle:claude/fix-whitelist-regex-doc
Open

Fix copy-paste error in -w/--whitelist-regex docs#190
TejasAmle wants to merge 1 commit into
econchick:masterfrom
TejasAmle:claude/fix-whitelist-regex-doc

Conversation

@TejasAmle

Copy link
Copy Markdown

What

Fix a copy-paste error in docs/index.rst where the -w/--whitelist-regex option description incorrectly referenced -r/--ignore-regex in its "Multiple invocations supported" note.

Before:

Regex identifying class, method, and function names to include. Multiple ``-r/--ignore-regex`` invocations supported.

After:

Regex identifying class, method, and function names to include. Multiple ``-w/--whitelist-regex`` invocations supported.

Why

The -w/--whitelist-regex entry was clearly copied from the -r/--ignore-regex entry just above it and the flag reference was never updated. This is confirmed by the CLI source in src/interrogate/cli.py (line 203) and README.rst, both of which correctly show -w/--whitelist-regex for this option.

How verified

Cross-referenced against src/interrogate/cli.py and README.rst.

The description for -w/--whitelist-regex incorrectly referenced
-r/--ignore-regex in the 'Multiple invocations supported' note.
Updated to reference -w/--whitelist-regex as shown in the CLI source
and README.
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.

1 participant