summaryrefslogtreecommitdiff
path: root/src/helper/options.c
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-27 01:15:50 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-27 01:15:50 +0000
commitf7274784a22e975dbab6a8b24770b652a813e64d (patch)
tree72f5c7d3c22aff2ee18bbff753e939c1b695d071 /src/helper/options.c
parent437a981878d450baf31081506f6ec9005c43a9fb (diff)
downloadopenocd+libswd-f7274784a22e975dbab6a8b24770b652a813e64d.tar.gz
openocd+libswd-f7274784a22e975dbab6a8b24770b652a813e64d.tar.bz2
openocd+libswd-f7274784a22e975dbab6a8b24770b652a813e64d.tar.xz
openocd+libswd-f7274784a22e975dbab6a8b24770b652a813e64d.zip
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
Diffstat (limited to 'src/helper/options.c')
-rw-r--r--src/helper/options.c3
1 files changed, 2 insertions, 1 deletions
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;