From c8349073d5b3b4c6d527eb705d15b1f4be21f89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 11 Jun 2025 21:25:12 +0200 Subject: [PATCH] drivers: rtc: adopt SHELL_HELP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adopt SHELL_HELP macro for rtc shell Signed-off-by: Benjamin Cabé --- drivers/rtc/rtc_shell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);