mirror of
https://github.com/haad/proxychains.git
synced 2026-09-12 19:50:06 +05:00
Print version string if not arguments are given.
This commit is contained in:
parent
0362e8a560
commit
96c9f917c0
@ -1,4 +1,5 @@
|
||||
#include "common.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
11
src/main.c
11
src/main.c
@ -26,10 +26,13 @@
|
||||
#include "common.h"
|
||||
|
||||
static int usage(char **argv) {
|
||||
printf("\nUsage:\t%s -q -f config_file program_name [arguments]\n"
|
||||
"\t-q makes proxychains quiet - this overrides the config setting\n"
|
||||
"\t-f allows to manually specify a configfile to use\n"
|
||||
"\tfor example : proxychains telnet somehost.com\n" "More help in README file\n\n", argv[0]);
|
||||
printf( "\nProxychains4: %d.%d.%d\n"
|
||||
"Usage:\t%s -q -f config_file program_name [arguments]\n"
|
||||
"\t-q makes proxychains quiet - this overrides the config setting\n"
|
||||
"\t-f allows to manually specify a configfile to use\n"
|
||||
"\n\tfor example : proxychains telnet somehost.com\n"
|
||||
"\n\tMore help in README file\n\n", PROXYCHAINS_VERSION_MAJOR,
|
||||
PROXYCHAINS_VERSION_MINOR, PROXYCHAINS_VERSION_BUGFIX, argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user