Definition at line 51 of file libdatrwxxinfo.cc.
References LIBDATRWXXINFO_VERSION, datrw::libversion, datrw::formatmodifiers::online_help(), datrw::online_help(), and datrw::supported_data_types().
53 cout <<
"This is libdatrwxxinfo" << endl;
59 if (argv[1]==std::string(
"all"))
65 else if (argv[1]==std::string(
"formats"))
78 cout <<
"The program takes one argument to control its output:" << endl;
80 cout <<
"libdatrwxxinfo all\n" 81 <<
" print all existing online help texts" << endl;
83 cout <<
"libdatrwxxinfo formats\n" 84 <<
" summarize supported formats" << endl;
86 cout <<
"libdatrwxxinfo <format>\n" 87 <<
" print online help text for format <format>" << endl;
void online_help(const std::string &format, std::ostream &os, const bool &modifierhelp)
const char *const libversion
Version string.
#define LIBDATRWXXINFO_VERSION
void supported_data_types(std::ostream &os)