Commit fad11139 authored by Seblu's avatar Seblu

fix double usage showing with -h options

parent 274dcd17
......@@ -64,11 +64,10 @@ Options &Options::load(int argc, char *argv[]) {
switch (option) {
case 'h':
usage(*argv, std::cout);
break;
exit(ERR_NO);
case 'V':
std::cout << "Version: " << VERSION << std::endl;
exit(ERR_NO);
break;
case 'l':
printf("login %s\n", optarg);
login = optarg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment