Title: Missing references to cli flags for `pickletools` · Issue #130973 · python/cpython · GitHub
Open Graph Title: Missing references to cli flags for `pickletools` · Issue #130973 · python/cpython
X Title: Missing references to cli flags for `pickletools` · Issue #130973 · python/cpython
Description: 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 fl...
Open Graph Description: 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 o...
X Description: 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 bu...
Opengraph URL: https://github.com/python/cpython/issues/130973
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing references to cli flags for `pickletools`","articleBody":"# Documentation\n\nWhile 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\n\n`./python -m pickletools -h` output:\n```\nusage: python -m pickletools [-h] [-o OUTPUT] [-m] [-l INDENTLEVEL] [-a] [-p PREAMBLE] [-t] [-v] [pickle_file ...]\n\ndisassemble one or more pickle files\n\npositional arguments:\n pickle_file the pickle file\n\noptions:\n -h, --help show this help message and exit\n -o, --output OUTPUT the file where the output should be written\n -m, --memo preserve memo between disassemblies\n -l, --indentlevel INDENTLEVEL\n the number of blanks by which to indent a new MARK level\n -a, --annotate annotate each line with a short opcode description\n -p, --preamble PREAMBLE\n if more than one pickle file is specified, print this before each disassembly\n -t, --test run self-test suite\n -v run verbosely; only affects self-test run\n```\n\n**Link to current documentation:** https://docs.python.org/dev/library/pickletools.html\n\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-130974\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/donbarbos","@type":"Person","name":"donbarbos"},"datePublished":"2025-03-08T07:51:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/130973/cpython/issues/130973"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00ad8079-f117-feca-9015-ca3b90c79856 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D382:9CC2A:13F7981:1BB058C:696A944B |
| html-safe-nonce | 3ce55e957b80aa6f2494b686daf93f4c82d78744d98fd2aa821101f1d1a8cb9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzgyOjlDQzJBOjEzRjc5ODE6MUJCMDU4Qzo2OTZBOTQ0QiIsInZpc2l0b3JfaWQiOiI4NzkxMjI5Mzk4NzE1NjM0NzYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1ce3620d7e7e59a5cfb46d6e25e587ddb8e49f77c3ac5966c12845ecafea64c2 |
| hovercard-subject-tag | issue:2904623675 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/130973/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe945dbf8c086f06d79f4db8f28cec82e20702bb0acb578c8c09d5cb4c987e4c/python/cpython/issues/130973 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe945dbf8c086f06d79f4db8f28cec82e20702bb0acb578c8c09d5cb4c987e4c/python/cpython/issues/130973 |
| og:image:alt | 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 o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | donbarbos |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width