From 65f740aa1758531fd810339bc1b7d1d33666e28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Wed, 21 Apr 2021 14:18:38 +0200 Subject: yavta: Fix usage documentation for --field option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The --field option takes an argument selecting the field order. Update the usage text to reflect this. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- yavta.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yavta.c b/yavta.c index 4e5b62a..387942d 100644 --- a/yavta.c +++ b/yavta.c @@ -2290,7 +2290,9 @@ static void usage(const char *argv0) printf(" --enum-formats Enumerate formats\n"); printf(" --enum-inputs Enumerate inputs\n"); printf(" --fd Use a numeric file descriptor insted of a device\n"); - printf(" --field Interlaced format field order\n"); + printf(" --field field Set the format field order\n"); + printf("\tValid values for field are none, top, bottom, interlaced, seq-tb, seq-bt,\n"); + printf("\talternate, interlaced-tb and interlaced-bt.\n"); printf(" --log-status Log device status\n"); printf(" --no-query Don't query capabilities on open\n"); printf(" --offset User pointer buffer offset from page start\n"); -- cgit v1.2.3