From 336eb5df83847f825a5f01cc7f5ec0e60555ce77 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Mon, 11 Oct 2021 22:40:51 +0800 Subject: Clarify -I/-G/-J flags --- leningrade.py | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/leningrade.py b/leningrade.py index 7eda9a8..e14939c 100644 --- a/leningrade.py +++ b/leningrade.py @@ -12,14 +12,29 @@ parser.add_argument( required=True, help="An integer. For h1, the value should be 1.", ) -parser.add_argument("-I", "--no-individual", action="store_true", default=False) -parser.add_argument("-G", "--no-group", action="store_true", default=False) +parser.add_argument( + "-I", + "--no-individual", + action="store_true", + default=False, + help="Do not check individual submissions.", +) +parser.add_argument( + "-G", + "--no-group", + action="store_true", + default=False, + help="Do not check group submission.", +) parser.add_argument( "-J", "--no-joj", action="store_true", default=False, - help="JOJ may consume a lot of time. Set this flag if your group work has proven to pass JOJ.", + help=( + "Do not upload group code to JOJ. JOJ may consume a lot of time. " + "Set this flag if your group work has proven to pass JOJ." + ), ) cli_args = parser.parse_args() -- cgit v1.2.3