Skip to content

docs: sync cli.py usage docstring with actual flags - #174

Merged
Olawoyin007 merged 1 commit into
mainfrom
fix/json-flag-requires-list-domains
Jul 19, 2026
Merged

docs: sync cli.py usage docstring with actual flags#174
Olawoyin007 merged 1 commit into
mainfrom
fix/json-flag-requires-list-domains

Conversation

@Olawoyin007

Copy link
Copy Markdown
Owner

Summary

The src/cli.py module docstring's Usage: block was missing three flags that the argument parser actually supports: --list-domains, --list-domains --json, and --log-level. This syncs the in-file usage summary with the real parser. Docstring-only; no behaviour change.

Changes

  • src/cli.py: add the three missing flags to the module-docstring Usage: block.
  • CHANGELOG.md: [Unreleased] Documentation entry.

Related Issues

None.

Testing

  • pytest tests/test_cli.py -q - 17 passed
  • black --check src/cli.py passes
  • flake8 src/cli.py passes under the project config (--max-line-length=100)
  • Manually tested (if applicable) - N/A, docstring-only
  • Screenshots (if UI change) - N/A

The module docstring's Usage block omitted --list-domains,
--list-domains --json, and --log-level, all of which are real
arguments. Add them so the in-file summary matches the parser.
@Olawoyin007
Olawoyin007 merged commit 4e72c78 into main Jul 19, 2026
12 checks passed
@Olawoyin007
Olawoyin007 deleted the fix/json-flag-requires-list-domains branch July 19, 2026 13:03
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