Skip to content

Commit f423d75

Browse files
committed
vcap,vdisp/deltacast: print option help
1 parent 5343f81 commit f423d75

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/video_capture/deltacast.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ usage(bool full)
100100
color_printf("\t" TBOLD("-t "
101101
"deltacast:[full]help") "\n");
102102

103+
printf("\nOptions:\n");
104+
color_printf("\t" TBOLD("device") " - board index\n");
105+
color_printf("\t" TBOLD("channel") " - card channel index (default 0)\n");
106+
color_printf("\t" TBOLD("mode") " - capture mode (see below)\n");
107+
color_printf("\t" TBOLD("codec") " - pixel format to capture (see list below)\n");
108+
103109
print_available_delta_boards(full);
104110

105111
printf("\nAvailable modes:\n");

src/video_display/deltacast.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ show_help(bool full)
101101
TRED("-d deltacast") "[:device=<index>][:channel=<ch>]") "\n");
102102
color_printf("\t" TBOLD("-d deltacast:[full]help") "\n");
103103

104+
printf("\nOptions:\n");
105+
color_printf("\t" TBOLD("device") " - board index\n");
106+
color_printf("\t" TBOLD("channel") " - card channel index (default 0)\n");
107+
104108
print_available_delta_boards(full);
105109

106110
printf("\nDefault board is 0.\n");

0 commit comments

Comments
 (0)