diff options
author | Christian Pointner <equinox@anytun.org> | 2008-04-15 19:09:02 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-04-15 19:09:02 +0000 |
commit | dd7f98bd7a485031f7ae872592a4603adaf3b288 (patch) | |
tree | 6e47fb2b3f627aa20082b3165086d7b37f87aca6 /src/anytun-showtables.cpp | |
parent | oops forget to actually add man pages for anytun-controld and anytun-config (diff) |
added manpage for anytun-showtables
Diffstat (limited to 'src/anytun-showtables.cpp')
-rw-r--r-- | src/anytun-showtables.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/anytun-showtables.cpp b/src/anytun-showtables.cpp index d9ae096..8aa1bd8 100644 --- a/src/anytun-showtables.cpp +++ b/src/anytun-showtables.cpp @@ -33,7 +33,6 @@ #include "log.h" #include "buffer.h" #include "keyDerivation.h" -#include "options.h" #include "seqWindow.h" #include "connectionList.h" #include "routingTable.h" @@ -80,11 +79,6 @@ void output(ConnectionList &cl) int main(int argc, char* argv[]) { int ret = 0; - if(!gOpt.parse(argc, argv)) - { - gOpt.printUsage(); - exit(-1); - } ConnectionList cl; std::stringstream iss_; @@ -121,7 +115,7 @@ int main(int argc, char* argv[]) missing_chars=-1; output(cl); delete[] buffer; - } + } else break; } |