summaryrefslogtreecommitdiff
path: root/src/main/options_handlers.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-14 15:13:37 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-14 15:13:37 +0000
commit080fc73c61ca11a539fd5239146a828e86b9e29a (patch)
treee85086eafa39013a06b04f7704a17e8a5d977b57 /src/main/options_handlers.h
parent01dfa806851502267e1032483fec48e8b4373634 (diff)
Fix a few minor issues in options processing, improving usability, consistency, error-reporting, and documentation.
Diffstat (limited to 'src/main/options_handlers.h')
-rw-r--r--src/main/options_handlers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/options_handlers.h b/src/main/options_handlers.h
index e607e13ce..7d5d35e08 100644
--- a/src/main/options_handlers.h
+++ b/src/main/options_handlers.h
@@ -94,6 +94,9 @@ inline void showTraceTags(std::string option, SmtEngine* smt) {
exit(0);
}
+inline void threadN(std::string option, SmtEngine* smt) {
+ throw OptionException(option + " is not a real option by itself. Use e.g. --thread0=\"--random-seed=10 --random-freq=0.02\" --thread1=\"--random-seed=20 --random-freq=0.05\"");
+}
}/* CVC4::main namespace */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback