From 36eb7eeb76ccf941e228c044ddad5ab16a56e855 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 18 May 2019 16:35:10 +0300 Subject: [PATCH] minor help fix --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 24e87f2..de8b2b6 100644 --- a/src/main.c +++ b/src/main.c @@ -129,8 +129,8 @@ static void _help(struct device_t *dev, struct encoder_t *encoder, struct http_s printf(" -z|--min-frame-size ──────── Drop frames smaller then this limit. Useful if the device\n"); printf(" produces small-sized garbage frames. Default: disabled.\n\n"); printf(" -n|--persistent ──────────────── Don't re-initialize device on timeout. Default: disabled.\n\n"); - printf(" -t|--dv-timings ──────────────── Enable DV timings queriyng and events processing.\n"); - printf(" Supports automatic resolution changing. Default: disabled.\n\n"); + printf(" -t|--dv-timings ──────────────── Enable DV timings queriyng and events processing\n"); + printf(" to automatic resolution change. Default: disabled.\n\n"); printf(" -b|--buffers ─────────────── The number of buffers to receive data from the device.\n"); printf(" Each buffer may processed using an intermediate thread.\n"); printf(" Default: %u (the number of CPU cores (but not more 4) + 1).\n\n", dev->n_buffers); @@ -139,9 +139,9 @@ static void _help(struct device_t *dev, struct encoder_t *encoder, struct http_s printf(" -q|--quality ─────────────── Set quality of JPEG encoding from 1 to 100 (best). Default: %u.\n\n", encoder->quality); printf(" -c|--encoder ──────────── Use specified encoder. It may affects to workers number.\n"); printf(" Available: %s; default: CPU.\n\n", ENCODER_TYPES_STR); - printf(" --device-timeout ───── Timeout for device querying. Default: %u\n\n", dev->timeout); + printf(" --device-timeout ───── Timeout for device querying. Default: %u.\n\n", dev->timeout); printf(" --device-error-delay ─ Delay before trying to connect to the device again\n"); - printf(" after an error (timeout for example). Default: %u\n\n", dev->error_delay); + printf(" after an error (timeout for example). Default: %u.\n\n", dev->error_delay); printf("Image control options:\n"); printf("══════════════════════\n"); printf(" --brightness ───────────── Set brightness. Default: no change.\n\n");