shell: modules: kernel: fix typo in cmd_kernel_uptime()

Caught by CI in another PR, should be 'Unsupported' instead.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2024-08-28 14:19:27 +08:00 committed by Anas Nashif
commit f81d178b23

View file

@ -64,7 +64,7 @@ static int cmd_kernel_uptime(const struct shell *sh, size_t argc, char **argv)
/* No need to enable the getopt and getopt_long for just one option. */
if (strcmp("-p", argv[1]) && strcmp("--pretty", argv[1]) != 0) {
shell_error(sh, "Usupported option: %s", argv[1]);
shell_error(sh, "Unsupported option: %s", argv[1]);
return -EIO;
}