From d3353b08abbc244dc4344e60bf2d164d11626d8e Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 4 Nov 2023 14:57:16 +0100 Subject: update usage --- Readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index ae9f17f..d6bff44 100644 --- a/Readme.md +++ b/Readme.md @@ -14,7 +14,9 @@ The solutions file must provide the fields `question,solution`. ## Usage ``` -usage: quiz.py [-h] [-s SOLUTION_FILE] [--select SELECT] [question_dir ...] +usage: quiz.py [-h] [-s SOLUTION_FILE] [--select SELECT] [--question-match QUESTION_MATCH] + [--answers [ANSWERS ...]] + [question_dir ...] positional arguments: question_dir directories containing questions @@ -24,6 +26,10 @@ options: -s SOLUTION_FILE, --solution-file SOLUTION_FILE file containing the solutions --select SELECT selector string to identify a subset of solutions + --question-match QUESTION_MATCH + match question files names + --answers [ANSWERS ...] + match question files names ``` By default quiz.py considers the current working directory the question directory and treats all present files as questions. -- cgit v1.2.3