aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openocd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 66555e60..3f0e1428 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -47,7 +47,6 @@
#include <strings.h>
#endif
-
#define OPENOCD_VERSION \
"Open On-Chip Debugger " VERSION RELSTR " (" PKGBLDDATE ")"
@@ -62,15 +61,15 @@ static int jim_version_command(Jim_Interp *interp, int argc,
const char *str = "";
char * version_str;
version_str = OPENOCD_VERSION;
-
+
if (argc == 2)
str = Jim_GetString(argv[1], NULL);
if (strcmp("git", str) == 0)
{
version_str = GITVERSION;
- }
-
+ }
+
Jim_SetResult(interp, Jim_NewStringObj(interp, version_str, -1));
return JIM_OK;