Skip to content

Commit 5f9d438

Browse files
kartbendanieldegrasse
authored andcommitted
pm: adopt SHELL_HELP
Adopt SHELL_HELP macro for pm_shell Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 595645b commit 5f9d438

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

subsys/pm/pm_shell.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,20 +158,20 @@ static int pm_cmd_runtime_put_async(const struct shell *sh, size_t argc, char *a
158158
SHELL_STATIC_SUBCMD_SET_CREATE(
159159
sub_pm_cmds,
160160
SHELL_CMD_ARG(suspend, &dsub_device_name,
161-
"Call the PM suspend action on a device",
161+
SHELL_HELP("Call the PM suspend action on a device", "<device>"),
162162
pm_cmd_suspend, 2, 0),
163163
SHELL_CMD_ARG(resume, &dsub_device_name,
164-
"Call the PM resume action on a device",
164+
SHELL_HELP("Call the PM resume action on a device", "<device>"),
165165
pm_cmd_resume, 2, 0),
166166
#if defined(CONFIG_PM_DEVICE_RUNTIME)
167167
SHELL_CMD_ARG(runtime-get, &dsub_device_name,
168-
"Call the PM runtime get on a device",
168+
SHELL_HELP("Call the PM runtime get on a device", "<device>"),
169169
pm_cmd_runtime_get, 2, 0),
170170
SHELL_CMD_ARG(runtime-put, &dsub_device_name,
171-
"Call the PM runtime put on a device",
171+
SHELL_HELP("Call the PM runtime put on a device", "<device>"),
172172
pm_cmd_runtime_put, 2, 0),
173173
SHELL_CMD_ARG(runtime-put-async, &dsub_device_name,
174-
"Call the PM runtime put async on a device",
174+
SHELL_HELP("Call the PM runtime put async on a device", "<device>"),
175175
pm_cmd_runtime_put_async, 2, 0),
176176
#endif /* CONFIG_PM_DEVICE_RUNTIME */
177177
SHELL_SUBCMD_SET_END);

0 commit comments

Comments
 (0)