diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-05-25 11:06:49 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-05-25 11:06:49 +0200 |
commit | 4aa40df9cfaf6f94b9207023d8ac9250847d2150 (patch) | |
tree | 56151274bee8324d8cec98d2cdddf6f7c245cdf9 | |
parent | 888b03b281397f2569af50b33d3a7de3c93e0fd9 (diff) |
options: Remove unnecessary commas from EBNF syntax
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/options.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/options.c b/src/options.c index 60cf6d5..d71d11b 100644 --- a/src/options.c +++ b/src/options.c @@ -52,13 +52,13 @@ static void usage(const char *argv0, int verbose) printf("\n"); printf("Links and formats are defined as\n"); - printf("\tlink = pad, '->', pad, '[', flags, ']' ;\n"); - printf("\tformat = pad, '[', fcc, ' ', size, [ ' ', crop ], [ ' ', '@', frame interval ], ']' ;\n"); - printf("\tpad = entity, ':', pad number ;\n"); - printf("\tentity = entity number | ( '\"', entity name, '\"' ) ;\n"); - printf("\tsize = width, 'x', height ;\n"); - printf("\tcrop = '(', left, ',', top, ')', '/', size ;\n"); - printf("\tframe interval = numerator, '/', denominator ;\n"); + printf("\tlink = pad '->' pad '[' flags ']' ;\n"); + printf("\tformat = pad '[' fcc ' ' size [ ' ' crop ] [ ' ' '@' frame interval ] ']' ;\n"); + printf("\tpad = entity ':' pad number ;\n"); + printf("\tentity = entity number | ( '\"' entity name '\"' ) ;\n"); + printf("\tsize = width 'x' height ;\n"); + printf("\tcrop = '(' left ',' top ')' '/' size ;\n"); + printf("\tframe interval = numerator '/' denominator ;\n"); printf("where the fields are\n"); printf("\tentity number Entity numeric identifier\n"); printf("\tentity name Entity name (string) \n"); |