Browse Source

No help output if no host is specified

pull/1/head
Pieter Wuille 12 years ago
parent
commit
bb4595e3d0
  1. 2
      main.cpp

2
main.cpp

@ -83,7 +83,7 @@ public: @@ -83,7 +83,7 @@ public:
}
}
}
if (host == NULL || ns == NULL) showHelp = true;
if (host != NULL && ns == NULL) showHelp = true;
if (showHelp) fprintf(stderr, help, argv[0]);
}
};

Loading…
Cancel
Save