diff --git a/drivers/rtc/rtc_shell.c b/drivers/rtc/rtc_shell.c index 2ea8ba3047d..49042e0de94 100644 --- a/drivers/rtc/rtc_shell.c +++ b/drivers/rtc/rtc_shell.c @@ -233,12 +233,12 @@ static void device_name_get(size_t idx, struct shell_static_entry *entry) } #define RTC_GET_HELP \ - ("Get current time (UTC)\n" \ - "Usage: rtc get ") + SHELL_HELP("Get current time (UTC)", \ + "") #define RTC_SET_HELP \ - ("Set UTC time\n" \ - "Usage: rtc set | | ") + SHELL_HELP("Set UTC time", \ + " | | ") SHELL_DYNAMIC_CMD_CREATE(dsub_device_name, device_name_get);