diff --git a/v4l2/video-infos.c b/v4l2/video-infos.c index f1d9e95..7d8d0ce 100644 --- a/v4l2/video-infos.c +++ b/v4l2/video-infos.c @@ -232,35 +232,51 @@ fprintf(stderr, "%s not implemented\n", __func__); return -1; } /* --------------------------------------------------------------------- */ - -void help(int k) +static void help(int k) { puts("Options :"); -puts("\t-d\tselect the video device"); -puts("\t-K\tset the K parameter"); -puts("\t-l\tlist video devices"); -puts("\t-v\tincrease verbosity"); +puts("\t-d\t\tselect the video device"); +puts("\t-K\t\tset the K parameter"); +puts("\t-l\t\tlist video devices"); +puts("\t-T bla\t\tadd a title"); +puts("\t-v\t\tincrease verbosity"); exit(0); } /* --------------------------------------------------------------------- */ +static void print_title(char *txt) +{ +int foo, l; + +l = strlen(txt); +for (foo=0; foo %d\n", foo);