summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2021-04-21 14:18:38 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-22 14:33:06 +0300
commit65f740aa1758531fd810339bc1b7d1d33666e28a (patch)
treeba7ada6cc492c31ee077edc701e87b67e887a80f
parent583bedefc2a247d2cfd32d1b4a0abbe3e2015c70 (diff)
yavta: Fix usage documentation for --field option
The --field option takes an argument selecting the field order. Update the usage text to reflect this. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c4
1 files changed, 3 insertions, 1 deletions
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");