summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fred.yin@sjtu.edu.cn>2021-10-11 22:40:51 +0800
committerFrederick Yin <fred.yin@sjtu.edu.cn>2021-10-11 22:40:51 +0800
commit336eb5df83847f825a5f01cc7f5ec0e60555ce77 (patch)
tree6a316df96ea29f075a6b69e2bacf3be67ba62a6a
parenteb57f49398f4a94179e17641fa8c8940db659cbb (diff)
Clarify -I/-G/-J flags
-rw-r--r--leningrade.py21
1 files 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()