@@ -1049,28 +1049,26 @@ SHELL_DYNAMIC_CMD_CREATE(dsub_video_format_dev, complete_video_format_dev);
1049
1049
1050
1050
SHELL_STATIC_SUBCMD_SET_CREATE (sub_video_cmds ,
1051
1051
SHELL_CMD_ARG (start , & dsub_video_dev ,
1052
- "Start a video device and its sources\n"
1053
- "Usage: video start <device>" ,
1052
+ SHELL_HELP ("Start a video device and its sources" , "<device>" ),
1054
1053
cmd_video_start , 2 , 0 ),
1055
1054
SHELL_CMD_ARG (stop , & dsub_video_dev ,
1056
- "Stop a video device and its sources\n"
1057
- "Usage: video stop <device>" ,
1055
+ SHELL_HELP ("Stop a video device and its sources" , "<device>" ),
1058
1056
cmd_video_stop , 2 , 0 ),
1059
1057
SHELL_CMD_ARG (capture , & dsub_video_dev ,
1060
- "Capture a given number of buffers from a device\n"
1061
- "Usage: video capture <device> <num-buffers>" ,
1058
+ SHELL_HELP ( "Capture a given number of buffers from a device" ,
1059
+ " <device> <num-buffers>") ,
1062
1060
cmd_video_capture , 3 , 0 ),
1063
1061
SHELL_CMD_ARG (format , & dsub_video_format_dev ,
1064
- "Query or set the video format of a device\n"
1065
- "Usage: video format <device> <dir> [<fourcc> <width>x<height>]" ,
1062
+ SHELL_HELP ( "Query or set the video format of a device" ,
1063
+ " <device> <dir> [<fourcc> <width>x<height>]") ,
1066
1064
cmd_video_format , 3 , 2 ),
1067
1065
SHELL_CMD_ARG (frmival , & dsub_video_frmival_dev ,
1068
- "Query or set the video frame rate/interval of a device\n"
1069
- "Usage: video frmival <device> [<n>fps|<n>ms|<n>us]" ,
1066
+ SHELL_HELP ( "Query or set the video frame rate/interval of a device" ,
1067
+ " <device> [<n>fps|<n>ms|<n>us]") ,
1070
1068
cmd_video_frmival , 2 , 1 ),
1071
1069
SHELL_CMD_ARG (ctrl , & dsub_video_ctrl_dev ,
1072
- "Query or set video controls of a device\n"
1073
- "Usage: video ctrl <device> [<ctrl> <value>]" ,
1070
+ SHELL_HELP ( "Query or set video controls of a device" ,
1071
+ " <device> [<ctrl> <value>]") ,
1074
1072
cmd_video_ctrl , 2 , 2 ),
1075
1073
SHELL_SUBCMD_SET_END
1076
1074
);
0 commit comments