summaryrefslogtreecommitdiffstats
path: root/src/command_line_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_line_options.cpp')
-rw-r--r--src/command_line_options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command_line_options.cpp b/src/command_line_options.cpp
index bb894ce..9b00080 100644
--- a/src/command_line_options.cpp
+++ b/src/command_line_options.cpp
@@ -11,6 +11,7 @@ CommandLineOptions::CommandLineOptions(int argc, char * const argv[]) {
{"config", required_argument, NULL, 'c'},
{"debug", no_argument, NULL, 'D'},
{"default", required_argument, NULL, 'd'},
+ {"exam-mode", no_argument, NULL, 'exms'},
{"fullscreen", no_argument, NULL, 'F'},
{"file", required_argument, NULL, 'f'},
{"help", no_argument, NULL, 'h'},
@@ -51,6 +52,9 @@ CommandLineOptions::CommandLineOptions(int argc, char * const argv[]) {
case 'F':
options.insert("fullscreen", "fullscreen");
break;
+ case 'exms':
+ options.insert("exam-mode", "yo");
+ break;
case 'f':
options.insert("file", optarg);
break;