Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove --self flag #141

Merged
merged 2 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ where the running process must not be impacted in any way (other than being temp
though `--no-block` can avoid even that). There are several options available:

```shell
usage: pystack remote [-h] [-v] [--no-color] [--no-block] [--native] [--native-all] [--locals] [--exhaustive] [--self] pid
usage: pystack remote [-h] [-v] [--no-color] [--no-block] [--native] [--native-all] [--locals] [--exhaustive] pid

positional arguments:
pid The PID of the remote process
Expand Down
6 changes: 0 additions & 6 deletions src/pystack/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,6 @@ def generate_cli_parser() -> argparse.ArgumentParser:
default=False,
help="Use all possible methods to obtain the Python stack info (may be slow)",
)
remote_parser.add_argument(
"--self",
action="store_true",
default=False,
help="Introspect the same process that invoke this program",
)
core_parser = subparsers.add_parser(
"core",
help="Analyze a core dump file given its location and the executable",
Expand Down