mirror of
https://github.com/anope/anope.git
synced 2026-06-12 17:04:47 +02:00
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
This commit is contained in:
parent
83a2b9b561
commit
735c2334f8
@@ -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;
|
||||
|
||||
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user