#include #include "JSystem/JSystemToolkit.hh" #include "Jeep/JParser.hh" #include "Jeep/JMessage.hh" /** * \file * Example program to print shell. * \author mdejong */ int main(int argc, char* argv[]) { using namespace std; using namespace JPP; int debug; try { JParser<> zap("Example program to print shell."); zap['d'] = make_field(debug) = 0; zap(argc, argv); } catch(const exception &error) { FATAL(error.what() << endl); } cout << getShell() << endl; }