From f7274784a22e975dbab6a8b24770b652a813e64d Mon Sep 17 00:00:00 2001 From: duane Date: Sat, 27 Dec 2008 01:15:50 +0000 Subject: Build Permutations with ftd2xx and libftdi addressed. Also added a new se of regression makefiles to build openocd in multiple ways git-svn-id: svn://svn.berlios.de/openocd/trunk@1275 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/helper') diff --git a/src/helper/options.c b/src/helper/options.c index 2ac9143e..203791bd 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -178,7 +178,8 @@ int parse_cmdline_args(struct command_context_s *cmd_ctx, int argc, char *argv[] if (version_flag) { /* Nothing to do, version gets printed automatically. */ - exit(-1); + // It is not an error to request the VERSION number. + exit(0); } return ERROR_OK; -- cgit v1.2.3