summaryrefslogtreecommitdiff
path: root/src/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hello.c')
-rw-r--r--src/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello.c b/src/hello.c
index b2d1d300..df0cb026 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 = "";