aboutsummaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-30 05:33:41 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-30 05:33:41 +0000
commit4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae (patch)
tree851ceec0146d46774ed1485922ef935f3311c982 /src/openocd.c
parent557cafcc70a75a226fd001d24215d04eab7e8efa (diff)
downloadriscv-openocd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.zip
riscv-openocd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.tar.gz
riscv-openocd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.tar.bz2
Make bug reporting output at program start-ups use fewer new lines:
- Move repository URL output associate it with the version; they relate. - 'openocd --version' output now appears much more terse, as expected. git-svn-id: svn://svn.berlios.de/openocd/trunk@2421 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r--src/openocd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openocd.c b/src/openocd.c
index 8fa40f0..01c7708 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -253,10 +253,11 @@ int openocd_main(int argc, char *argv[])
}
#endif
- LOG_OUTPUT("\n\nBUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS\n\n\n");
-
print_version();
+ LOG_OUTPUT("For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS\n");
+
+
command_context_mode(cmd_ctx, COMMAND_CONFIG);
command_set_output_handler(cmd_ctx, configuration_output_handler, NULL);