show help only once when requested

This commit is contained in:
HookedBehemoth 2019-09-02 19:53:45 +02:00
parent 8125029796
commit d367ea741f

View File

@ -543,7 +543,7 @@ int main(int argc, char **argv) {
break; break;
case 'h': case 'h':
showHelp(); showHelp();
break; return 1;
case NRO_ARGS: case NRO_ARGS:
extra_args=optarg; extra_args=optarg;
break; break;