From fa1cfc2d4da808f752518d3221619bc2e1ea628b Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 15 Feb 2010 13:41:08 +0100 Subject: gpl: fix GPL startup message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/helper/options.c | 2 +- src/openocd.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/helper/options.c b/src/helper/options.c index 63c5b057..3a95df46 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -190,7 +190,7 @@ int parse_cmdline_args(struct command_context *cmd_ctx, int argc, char *argv[]) if (help_flag) { - LOG_OUTPUT("Open On-Chip Debugger\n(c) 2005-2008 by Dominic Rath\n\n"); + LOG_OUTPUT("Open On-Chip Debugger\nLicensed under GNU GPL v2\n"); LOG_OUTPUT("--help | -h\tdisplay this help\n"); LOG_OUTPUT("--version | -v\tdisplay OpenOCD version\n"); LOG_OUTPUT("--file | -f\tuse configuration file \n"); diff --git a/src/openocd.c b/src/openocd.c index 1105d2a4..a689d59c 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -228,7 +228,8 @@ struct command_context *setup_command_handler(Jim_Interp *interp) } LOG_DEBUG("command registration: complete"); - LOG_OUTPUT(OPENOCD_VERSION "\n"); + LOG_OUTPUT(OPENOCD_VERSION "\n" + "Licensed under GNU GPL v2\n"); global_cmd_ctx = cmd_ctx; -- cgit v1.2.3-18-g5258