From 28e979a2be95af90e03a8302d97c62a409a75908 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 22 Mar 2019 05:23:26 +0300 Subject: [PATCH] dots --- src/main.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main.c b/src/main.c index 6ef453e..681e97c 100644 --- a/src/main.c +++ b/src/main.c @@ -125,14 +125,14 @@ static void _help(struct device_t *dev, struct encoder_t *encoder, struct http_s printf(" -a|--tv-standard ───────── Force TV standard.\n"); printf(" Available: %s; default: disabled.\n\n", STANDARDS_STR); printf(" -f|--desired-fps ─────────── Desired FPS. Default: maximum as possible.\n\n"); - printf(" -z|--min-frame-size ──────── Drop frames smaller then this limit.\n"); - printf(" Useful if the device produces small-sized garbage frames.\n\n"); + 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(" -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); + printf(" Default: %u (the number of CPU cores (but not more 4) + 1).\n\n", dev->n_buffers); printf(" -w|--workers ─────────────── The number of worker threads. Default: %u (== --buffers).\n\n", dev->n_workers); 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"); @@ -157,13 +157,13 @@ static void _help(struct device_t *dev, struct encoder_t *encoder, struct http_s printf(" --gain-auto ────────────────── Enable automatic gain control. Default: no change.\n\n"); printf("HTTP server options:\n"); printf("════════════════════\n"); - printf(" -s|--host
──────── Listen on Hostname or IP. Default: %s\n\n", server->host); - printf(" -p|--port ────────────── Bind to this TCP port. Default: %u\n\n", server->port); - printf(" -u|--unix ─────────── Bind to UNIX domain socket. Default: disabled\n\n"); - printf(" -r|--unix-rm ─────────────── Try to remove old UNIX socket file before binding. Default: disabled\n\n"); - printf(" -o|--unix-mode ────── Set UNIX socket file permissions (like 777). Default: disabled\n\n"); - printf(" --user ────────────── HTTP basic auth user. Default: disabled\n\n"); - printf(" --passwd ───────────── HTTP basic auth passwd. Default: empty\n\n"); + printf(" -s|--host
──────── Listen on Hostname or IP. Default: %s.\n\n", server->host); + printf(" -p|--port ────────────── Bind to this TCP port. Default: %u.\n\n", server->port); + printf(" -u|--unix ─────────── Bind to UNIX domain socket. Default: disabled.\n\n"); + printf(" -r|--unix-rm ─────────────── Try to remove old UNIX socket file before binding. Default: disabled.\n\n"); + printf(" -o|--unix-mode ────── Set UNIX socket file permissions (like 777). Default: disabled.\n\n"); + printf(" --user ────────────── HTTP basic auth user. Default: disabled.\n\n"); + printf(" --passwd ───────────── HTTP basic auth passwd. Default: empty.\n\n"); printf(" --static ───────────── Path to dir with static files instead of embedded root index page.\n"); printf(" Symlinks are not supported for security reasons. Default: disabled.\n\n"); printf(" -e|--drop-same-frames ── Don't send same frames to clients, but no more than specified number.\n"); @@ -172,9 +172,9 @@ static void _help(struct device_t *dev, struct encoder_t *encoder, struct http_s printf(" or webcams, it's useless. Default: disabled.\n\n"); printf(" -l|--slowdown ────────────── Slowdown capturing to 1 FPS or less when no stream clients connected.\n"); printf(" Useful to reduce CPU cosumption. Default: disabled.\n\n"); - printf(" --fake-width ─────────── Override image width for /state. Default: disabled\n\n"); + printf(" --fake-width ─────────── Override image width for /state. Default: disabled.\n\n"); printf(" --fake-height ────────── Override image height for /state. Default: disabled.\n\n"); - printf(" --server-timeout ─ Timeout for client connections. Default: %u\n\n", server->timeout); + printf(" --server-timeout ─ Timeout for client connections. Default: %u.\n\n", server->timeout); printf("Misc options:\n"); printf("═════════════\n"); printf(" --log-level ─ Verbosity level of messages from 0 (info) to 3 (debug).\n");