8000 Missing references to cli flags for `pickletools` · Issue #130973 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Missing references to cli flags for pickletools #130973
Closed as duplicate of#93096
Closed as duplicate of#93096
@donBarbos

Description

@donBarbos

Documentation

While looking for more examples for issue #130160 i found that the pickletools CLI documentation doesn't cover all the flags. I know many CLI docs don't mention the -h flag but this one also doesn't mention the -t and -v flags

./python -m pickletools -h output:

usage: python -m pickletools [-h] [-o OUTPUT] [-m] [-l INDENTLEVEL] [-a] [-p PREAMBLE] [-t] [-v] [pickle_file ...]

disassemble one or more pickle files

positional arguments:
  pickle_file           the pickle file

options:
  -h, --help            show this help message and exit
  -o, --output OUTPUT   the file where the output should be written
  -m, --memo            preserve memo between disassemblies
  -l, --indentlevel INDENTLEVEL
                        the number of blanks by which to indent a new MARK level
  -a, --annotate        annotate each line with a short opcode description
  -p, --preamble PREAMBLE
                        if more than one pickle file is specified, print this before each disassembly
  -t, --test            run self-test suite
  -v                    run verbosely; only affects self-test run

Link to current documentation: https://docs.python.org/dev/library/pickletools.html

Image

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirpendingThe issue will be closed if no feedback is provided

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0