diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-11-04 14:57:16 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-11-04 14:57:16 +0100 |
| commit | d3353b08abbc244dc4344e60bf2d164d11626d8e (patch) | |
| tree | 9fbefe5c06a61e536c8484343712e1fafdce589a | |
| parent | 9a82aebc0115eeb1ef7fc6aecccb991c84b56b9c (diff) | |
| download | quiz-d3353b08abbc244dc4344e60bf2d164d11626d8e.tar.gz quiz-d3353b08abbc244dc4344e60bf2d164d11626d8e.zip | |
update usage
| -rw-r--r-- | Readme.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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. |
