1 #define __STDC_FORMAT_MACROS
2 #define __STDC_LIMIT_MACROS
26 using namespace Minisat;
31 for (i = j = 1; i < argc; i++){
32 const char* str = argv[i];
36 else if (
match(str,
"-verb"))
39 bool parsed_ok =
false;
48 if (strict &&
match(argv[i],
"-"))
66 fprintf(stderr, usage, argv[0]);
70 const char* prev_cat =
NULL;
71 const char* prev_type =
NULL;
78 fprintf(stderr,
"\n%s OPTIONS:\n\n", cat);
79 else if (type != prev_type)
80 fprintf(stderr,
"\n");
88 fprintf(stderr,
"\nHELP OPTIONS:\n\n");
91 fprintf(stderr,
"\n");
void sort(T *array, int size, LessThan lt)
void setHelpPrefixStr(const char *str)
static const char *& getHelpPrefixString()
static vec< Option * > & getOptionList()
static const char *& getUsageString()
static bool match(B &in, const char *str)
void setUsageHelp(const char *str)
void printUsageAndExit(int argc, char **argv, bool verbose=false)
void parseOptions(int &argc, char **argv, bool strict=false)