2 #include "WikiWalker.h"
6 void usage(string exename
);
8 int main(int argc
, char** argv
)
15 if(std::string("-v") == argv
[1] || std::string("--version") == argv
[1]) {
16 std::cout
<< "WikiWalker, version " << _WW_VERSION
<< std::endl
;
23 WikiWalker w
= WikiWalker();
25 } catch(std::exception
& e
) {
26 cout
<< "Error " << e
.what() << endl
;
33 void usage(string exename
)
35 cout
<< "Usage: " << endl
;
36 cout
<< exename
<< " [URL]" << endl
;
37 cout
<< exename
<< " -v" << endl
;