summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-02-15 13:41:08 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-02-15 22:59:41 +0100
commitfa1cfc2d4da808f752518d3221619bc2e1ea628b (patch)
tree71c3257d57d61fd64354643d63a4fb80b96dc8d5 /src
parent58699923148fa1e0bc3eee4308e351cedecf296a (diff)
downloadopenocd+libswd-fa1cfc2d4da808f752518d3221619bc2e1ea628b.tar.gz
openocd+libswd-fa1cfc2d4da808f752518d3221619bc2e1ea628b.tar.bz2
openocd+libswd-fa1cfc2d4da808f752518d3221619bc2e1ea628b.tar.xz
openocd+libswd-fa1cfc2d4da808f752518d3221619bc2e1ea628b.zip
gpl: fix GPL startup message
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/helper/options.c2
-rw-r--r--src/openocd.c3
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 <name>\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;