diff options
-rw-r--r-- | init.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -431,7 +431,7 @@ static int parse_options(int ac, char **av) } else if (!strcmp(s, "version")) { fprintf(stdout, "Anope-%s %s -- %s\n", version_number, version_flags, version_build); - return 0; + exit(EXIT_SUCCESS); } else { fprintf(stderr, "Unknown option -%s\n", s); return -1; diff --git a/version.log b/version.log index bfe40d6e3..402cc9c25 100644 --- a/version.log +++ b/version.log @@ -8,11 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="0" -VERSION_BUILD="32" +VERSION_BUILD="33" VERSION_EXTRA="" # $Log$ # +# BUILD : 1.7.0 (33) +# BUGS : +# NOTES : Small bugfix to allow ./services -version to be done without anope running +# # BUILD : 1.7.0 (32) # BUGS : # NOTES : Added -version arguement to return anope version and build information |