upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/progress_dashboard.py
diff options
context:
space:
mode:
authormolodaya_mama <aakupov062@gmail.com>2026-11-24 03:00:45 +0500
committermolodaya_mama <aakupov062@gmail.com>2026-11-24 03:00:45 +0500
commitc83031fa51ee4b3f0a0e99e8bc63da6bb49a93b1 (patch)
treeb727ef3a364e828e93e035486d513c81481bef91 /tools/progress_dashboard.py
parent5d74c272363f2703265d44e6aaab1a1df8ddfaf3 (diff)
progress_dashboard: require --github when using --login
Diffstat (limited to 'tools/progress_dashboard.py')
-rw-r--r--tools/progress_dashboard.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/progress_dashboard.py b/tools/progress_dashboard.py
index 16e488fd6..19602b370 100644
--- a/tools/progress_dashboard.py
+++ b/tools/progress_dashboard.py
@@ -1006,6 +1006,8 @@ def main(argv=None):
1006 ap.add_argument("--repo", default=DEFAULT_REPO, help=f"GitHub repository (default {DEFAULT_REPO})") 1006 ap.add_argument("--repo", default=DEFAULT_REPO, help=f"GitHub repository (default {DEFAULT_REPO})")
1007 ap.add_argument("--login", help="with --github, show this account's claims and pull requests") 1007 ap.add_argument("--login", help="with --github, show this account's claims and pull requests")
1008 args = ap.parse_args(argv) 1008 args = ap.parse_args(argv)
1009 if args.login is not None and not args.github:
1010 ap.error("--login requires --github")
1009 if args.jobs < 1: 1011 if args.jobs < 1:
1010 ap.error("--jobs must be a positive integer") 1012 ap.error("--jobs must be a positive integer")
1011 if args.test_timeout < 1: 1013 if args.test_timeout < 1: