From 4aa40df9cfaf6f94b9207023d8ac9250847d2150 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 25 May 2012 11:06:49 +0200 Subject: options: Remove unnecessary commas from EBNF syntax Signed-off-by: Laurent Pinchart --- src/options.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3