]> git.sur5r.net Git - openocd/commitdiff
gpl: fix GPL startup message
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 15 Feb 2010 12:41:08 +0000 (13:41 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 15 Feb 2010 21:59:41 +0000 (22:59 +0100)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/options.c
src/openocd.c

index 63c5b05754cd872c308a12c3415d6966b85f9454..3a95df46d0799923f12af0f3b7c165eaf0c24f4b 100644 (file)
@@ -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");
index 1105d2a4366a0d8c177eae42a67a4ecf307bdc6f..a689d59ce3b300c3d6011be780ee2c542a1edaf4 100644 (file)
@@ -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;