From 2e2344f52df5d17d26724c667a5414a8d7a1bbfe Mon Sep 17 00:00:00 2001 From: Alice Date: Wed, 23 Aug 2023 08:43:32 +0100 Subject: [PATCH 1/2] Remove reference to --self from README Signed-off-by: Alice --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3135bee5..a6df6fe3 100644 --- a/README.md +++ b/README.md @@ -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 From fc98f68acb17de98a57b402a4e714cf00459d32a Mon Sep 17 00:00:00 2001 From: Alice Date: Wed, 23 Aug 2023 08:46:26 +0100 Subject: [PATCH 2/2] Remove --self flag from arguments Signed-off-by: Alice --- src/pystack/__main__.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pystack/__main__.py b/src/pystack/__main__.py index a88eb610..ed78b0d3 100644 --- a/src/pystack/__main__.py +++ b/src/pystack/__main__.py @@ -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",