diff options
author | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-27 01:15:50 +0000 |
---|---|---|
committer | duane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-12-27 01:15:50 +0000 |
commit | f7274784a22e975dbab6a8b24770b652a813e64d (patch) | |
tree | 72f5c7d3c22aff2ee18bbff753e939c1b695d071 /src/helper | |
parent | 437a981878d450baf31081506f6ec9005c43a9fb (diff) | |
download | openocd+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')
-rw-r--r-- | src/helper/options.c | 3 |
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; |