diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-30 05:33:41 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-30 05:33:41 +0000 |
commit | 4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae (patch) | |
tree | 851ceec0146d46774ed1485922ef935f3311c982 /src | |
parent | 557cafcc70a75a226fd001d24215d04eab7e8efa (diff) | |
download | openocd_libswd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.tar.gz openocd_libswd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.tar.bz2 openocd_libswd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.tar.xz openocd_libswd-4d26afdf5c9248be9d5973d1d6d59bc2a62e46ae.zip |
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')
-rw-r--r-- | src/openocd.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |