aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-11-04 14:57:16 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-11-04 14:57:16 +0100
commitd3353b08abbc244dc4344e60bf2d164d11626d8e (patch)
tree9fbefe5c06a61e536c8484343712e1fafdce589a
parent9a82aebc0115eeb1ef7fc6aecccb991c84b56b9c (diff)
downloadquiz-d3353b08abbc244dc4344e60bf2d164d11626d8e.tar.gz
quiz-d3353b08abbc244dc4344e60bf2d164d11626d8e.zip
update usage
-rw-r--r--Readme.md8
1 files changed, 7 insertions, 1 deletions
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.