Skip to content

Improve help message for python -m json.tool #138019

@yihong0618

Description

@yihong0618

Bug report

Bug description:

# Add a code block here, if required
python -m json.tool 

# or > 3.14

python -m json

this will hang, I think its better print help message

like

python -m tarfile

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other, macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions