From 4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 30 Jun 2009 05:33:41 +0000 Subject: 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 --- src/openocd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/openocd.c b/src/openocd.c index 8fa40f06..01c77083 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); -- cgit v1.2.3