diff --git a/src/common.c b/src/common.c index 1ca612a..03521da 100644 --- a/src/common.c +++ b/src/common.c @@ -1,4 +1,5 @@ #include "common.h" + #include #include #include diff --git a/src/main.c b/src/main.c index b54a811..7694e1b 100644 --- a/src/main.c +++ b/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; }