Skip to content

Commit

Permalink
fixup! sc_rdcli: s/reg/register/ in register shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed Oct 10, 2018
1 parent af61863 commit a9e93cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/shell/commands/sc_rdcli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <server address> [registration interface]\n",
printf("usage: %s register <server address> [registration interface]\n",
argv[0]);
return 1;
}
Expand Down Expand Up @@ -121,7 +121,7 @@ int _rdcli_handler(int argc, char **argv)
rdcli_dump_status();
}
else {
printf("usage: %s <reg [RD addr]|discover [RD addr]|update|remove|info>\n",
printf("usage: %s <register|discover|update|remove|info>\n",
argv[0]);
return 1;
}
Expand Down

0 comments on commit a9e93cb

Please sign in to comment.