** See the file COPYING in the top-level source directory for licensing
** information.
**
- ** [[ Add file-specific comments here ]]
+ ** The "about" string for the CVC4 driver binary.
**/
#ifndef __CVC4__MAIN__ABOUT_H
}/* CVC4::main namespace */
}/* CVC4 namespace */
-#endif /* __CVC4_MAIN_H */
+#endif /* __CVC4__MAIN__ABOUT_H */
smt | smtlib SMT-LIB format\n\
";
+// FIXME add a comment here describing the purpose of this
enum OptionValue {
SMTCOMP = 256, /* no clash with char options */
STATS
};/* enum OptionValue */
+// FIXME add a comment here describing the option array
static struct option cmdlineOptions[] = {
// name, has_arg, *flag, val
{ "help" , no_argument , NULL, 'h' },
{ "debug" , required_argument, NULL, 'd' },
{ "smtcomp", no_argument , NULL, SMTCOMP },
{ "stats" , no_argument , NULL, STATS }
-};
+};/* if you add things to the above, please remember to update usage.h! */
int parseOptions(int argc, char** argv, CVC4::Options* opts) throw(OptionException) {
const char *progName = argv[0];
}
opts->binary_name = string(progName);
+ // FIXME add a comment here describing the option string
while((c = getopt_long(argc, argv, "+:hVvqL:d:", cmdlineOptions, NULL)) != -1) {
switch(c) {
case 'd':
Debug.on(optarg);
+ /* fall-through */
case STATS:
opts->statistics = true;