No help output if no host is specified
This commit is contained in:
parent
0835038185
commit
bb4595e3d0
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -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…
Reference in a new issue