From e2f313a62a8cad1e59d7f721ea6b7377737c8652 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Tue, 1 Apr 2025 12:15:24 +0200 Subject: [PATCH] made better argparse things --- pull_requests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pull_requests.py b/pull_requests.py index b9d90fd..982c288 100644 --- a/pull_requests.py +++ b/pull_requests.py @@ -475,12 +475,13 @@ if __name__ == "__main__": parser.add_argument( "--only-repo", type=str, + metavar="OWNER/NAME", help="Run the script on a single repo (format: 'owner/name'). If not set, all repos in '--repos' CSV are processed.", ) parser.add_argument( "--cache-requests", action="store_true", - help="Cache GitHub API requests in a SQLite file using 'requests_cache' (in optional-requirements.txt). Speeds up reruns but may serve stale data.", + help="Caches GitHub API requests in a SQLite file using 'requests_cache' (see optional-requirements.txt). Useful for faster reruns if the script crashes or you’re tweaking it. Might produce stale data.", ) args = parser.parse_args()