From 735c2334f804b0fb7d358e9208adc3c8dc514ee3 Mon Sep 17 00:00:00 2001 From: "ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 5 Apr 2004 17:34:26 +0000 Subject: [PATCH] BUILD : 1.7.0 (33) BUGS : NOTES : Small bugfix to allow ./services -version to be done without anope running git-svn-id: svn://svn.anope.org/anope/trunk@33 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@23 5417fbe8-f217-4b02-8779-1006273d7864 --- init.c | 2 +- version.log | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/init.c b/init.c index 5a82eb610..be1be3663 100644 --- a/init.c +++ b/init.c @@ -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