1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-06 21:02:55 +08:00

print usage info on --help too

This commit is contained in:
rofl0r 2018-02-11 14:58:26 +00:00
parent 1a62ec60af
commit 831df039bd

View File

@ -72,6 +72,9 @@ int main(int argc, char *argv[]) {
size_t i;
const char *prefix = NULL;
if(argc == 2 && !strcmp(argv[1], "--help"))
return usage(argv);
for(i = 0; i < MAX_COMMANDLINE_FLAGS; i++) {
if(start_argv < argc && argv[start_argv][0] == '-') {
if(argv[start_argv][1] == 'q') {