diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-15 08:15:59 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 11:38:07 -0800 |
commit | 23402315ce01071f30d7ec0c5ca7563ce41f1cc6 (patch) | |
tree | 2b1cad0044d857844f7d6b35b5ffadd390594c9b /src/hello.c | |
parent | 7bf1a86e473a12882bf6f71cb4d0d416394b69d4 (diff) | |
download | riscv-openocd-23402315ce01071f30d7ec0c5ca7563ce41f1cc6.zip riscv-openocd-23402315ce01071f30d7ec0c5ca7563ce41f1cc6.tar.gz riscv-openocd-23402315ce01071f30d7ec0c5ca7563ce41f1cc6.tar.bz2 |
command_handler: change 'args' to CMD_ARGV
This patch converts all instances of 'args' in COMMAND_HANDLER routines
to use CMD_ARGV macro.
Diffstat (limited to 'src/hello.c')
-rw-r--r-- | src/hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello.c b/src/hello.c index b2d1d30..df0cb02 100644 --- a/src/hello.c +++ b/src/hello.c @@ -32,7 +32,7 @@ static COMMAND_HELPER(handle_hello_args, const char **sep, const char **name) if (1 == CMD_ARGC) { *sep = " "; - *name = args[0]; + *name = CMD_ARGV[0]; } else *sep = *name = ""; |