Match commands in ShapesDemo to documentation (#396)
Signed-off-by: Antón Casas <antoncasas@eprosima.com>
This commit is contained in:
parent
0301e0dc23
commit
5160fb06cd
|
@ -438,13 +438,13 @@ bool compute_command(
|
||||||
(void) compute_print_command(session, stream_id, 3, "create_datareader", arg1, arg1, 0, 0, 0, "");
|
(void) compute_print_command(session, stream_id, 3, "create_datareader", arg1, arg1, 0, 0, 0, "");
|
||||||
(void) uxr_run_session_time(session, 20);
|
(void) uxr_run_session_time(session, 20);
|
||||||
}
|
}
|
||||||
else if (0 == strcmp(name, "list") || 0 == strcmp(name, "l"))
|
else if (0 == strcmp(name, "help") || 0 == strcmp(name, "h"))
|
||||||
{
|
{
|
||||||
print_commands();
|
print_commands();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("%sUnknown command error, write 'l' or 'list' to show the command list.%s\n", RED_CONSOLE_COLOR,
|
printf("%sUnknown command error, write 'h' or 'help' to show the command list.%s\n", RED_CONSOLE_COLOR,
|
||||||
RESTORE_COLOR);
|
RESTORE_COLOR);
|
||||||
shapes_demo_error = 2;
|
shapes_demo_error = 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue