17int main(
int argc,
char **argv)
25 const int args = argc - 2;
29 if (action ==
"dtd" && args == 0) {
30 printConfigReference(
std::cout, ConfigReferenceType::DTD);
33 if (action ==
"md" && args == 0) {
34 printConfigReference(
std::cout, ConfigReferenceType::MD);
37 if (action ==
"xml" && args == 0) {
38 printConfigReference(
std::cout, ConfigReferenceType::XML);
41 if ((action ==
"version" || action ==
"--version") && args == 0) {
45 if (action ==
"check" && args >= 1 && args <= 3) {
54 std::cerr <<
"ERROR: passed COMMSIZE is not a valid number\n";
int main(int argc, char **argv)