changeset 2390 | 8450951a8e2d |
parent 2389 | df6a32249b46 |
child 2391 | 14a343be7a5a |
0:6b1728739c47 | 1:40b872aa7298 |
---|---|
18 |
18 |
19 namespace lemon { |
19 namespace lemon { |
20 |
20 |
21 void ArgParser::_showHelp(void *p) |
21 void ArgParser::_showHelp(void *p) |
22 { |
22 { |
23 ((ArgParser*)p)->showHelp(); |
23 (static_cast<ArgParser*>(p))->showHelp(); |
24 exit(1); |
24 exit(1); |
25 } |
25 } |
26 |
26 |
27 ArgParser::ArgParser(int argc, char **argv) :_argc(argc), _argv(argv), |
27 ArgParser::ArgParser(int argc, char **argv) :_argc(argc), _argv(argv), |
28 _command_name(argv[0]) { |
28 _command_name(argv[0]) { |