From: Laurent Pinchart Date: Fri, 30 May 2014 23:00:34 +0000 (+0200) Subject: media-ctl: Document the --links option argument X-Git-Tag: v4l-utils-1.2.0~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b47169fb07e17d77b63e60202960447c2d1f10fd;p=platform%2Fupstream%2Fv4l-utils.git media-ctl: Document the --links option argument The --links option take a mandatory argument. Document it. Signed-off-by: Laurent Pinchart --- diff --git a/utils/media-ctl/options.c b/utils/media-ctl/options.c index 2e9851e..2135d93 100644 --- a/utils/media-ctl/options.c +++ b/utils/media-ctl/options.c @@ -41,7 +41,7 @@ static void usage(const char *argv0, int verbose) printf(" --get-v4l2 pad Print the active format on a given pad\n"); printf("-h, --help Show verbose help and exit\n"); printf("-i, --interactive Modify links interactively\n"); - printf("-l, --links Comma-separated list of links descriptors to setup\n"); + printf("-l, --links links Comma-separated list of link descriptors to setup\n"); printf("-p, --print-topology Print the device topology\n"); printf(" --print-dot Print the device topology as a dot graph\n"); printf("-r, --reset Reset all links to inactive\n"); @@ -52,6 +52,7 @@ static void usage(const char *argv0, int verbose) printf("\n"); printf("Links and formats are defined as\n"); + printf("\tlinks = link { ',' link } ;\n"); printf("\tlink = pad '->' pad '[' flags ']' ;\n"); printf("\tpad = entity ':' pad-number ;\n"); printf("\tentity = entity-number | ( '\"' entity-name '\"' ) ;\n");