v4l2-sysfs-path: Add missing help text
PATCH 1/1 v4l2-sysfs-path: Add missing help text
Add a program description to the help output. The description matches the existing README documentation to keep the documentation consistent.
Signed-off-by Sai Vishnu M <[email protected]>
--- utils/v4l2-sysfs-path/v4l2-sysfs-path.c | 3 +++ 1 file changed, 3 insertions(+)
utils/v4l2-sysfs-path/v4l2-sysfs-path.c +3 -0
@@ -30,6 +30,8 @@const char *argp_program_version ="v4l2-sysfs-path version " V4L_UTILS_VERSION ;const char *argp_program_bug_address ="Mauro Carvalho Chehab <[email protected]>" ; +static const char doc[] ="Tool to show relationships between V4L2 video devices \ +and other related devices belonging to the same physical device by parsing the sysfs tree." ;static const struct argp_option options[] = { {"device" ,'d' ,0 ,0 ,"use alternative device show mode" ,0 },
@@ -53,6 +55,7 @@ static error_t parse_opt(int k, char *arg, struct argp_state *state)static struct argp argp = { .options = options, .parser = parse_opt, + .doc = doc }; static void print_all_associated_devices(void *md, const char *vid,
Signature · 1 line
2.54.0