2 #include "WikiWalker.h"
7 void usage(string exename
);
9 int main(int argc
, char** argv
)
16 if(std::string("-v") == argv
[1] || std::string("--version") == argv
[1]) {
17 std::cout
<< "WikiWalker, version " << _WW_VERSION
<< std::endl
;
24 WikiWalker w
= WikiWalker();
26 } catch(std::exception
& e
) {
27 cout
<< "Error " << e
.what() << endl
;
34 void usage(string exename
)
36 cout
<< "Usage: " << endl
;
37 cout
<< exename
<< " [URL]" << endl
;
38 cout
<< exename
<< " -v" << endl
;