diff --git a/sys/shell/commands/sc_rdcli.c b/sys/shell/commands/sc_rdcli.c index f284896db5670..c67b79016dfcb 100644 --- a/sys/shell/commands/sc_rdcli.c +++ b/sys/shell/commands/sc_rdcli.c @@ -45,10 +45,10 @@ int _rdcli_handler(int argc, char **argv) { int res; - if ((argc > 1) && (strcmp(argv[1], "reg") == 0)) { + if ((argc > 1) && (strcmp(argv[1], "register") == 0)) { char *regif = NULL; if (argc < 3) { - printf("usage: %s reg [registration interface]\n", + printf("usage: %s register [registration interface]\n", argv[0]); return 1; } @@ -121,7 +121,7 @@ int _rdcli_handler(int argc, char **argv) rdcli_dump_status(); } else { - printf("usage: %s \n", + printf("usage: %s \n", argv[0]); return 1; }