From 17133b2991439daa181d42e64910559f87052292 Mon Sep 17 00:00:00 2001 From: Eugene Burkov Date: Tue, 13 Apr 2021 15:13:38 +0300 Subject: [PATCH] Pull request: Configuration: fix help Merge in DNS/adguard-home-wiki from fix-help to master Squashed commit of the following: commit 445a6ee003e927757cbf81ea79ff2ab8aa2f84ee Author: Eugene Burkov Date: Tue Apr 13 14:54:11 2021 +0300 Configuration: fix help --- Configuration.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Configuration.md b/Configuration.md index 0d60ed7..39212e6 100644 --- a/Configuration.md +++ b/Configuration.md @@ -24,21 +24,21 @@ Usage: ./AdGuardHome [options] Options: - -c, --config VALUE Path to the config file - -w, --work-dir VALUE Path to the working directory - -h, --host VALUE Host address to bind HTTP server on - -p, --port VALUE Port to serve HTTP pages on - -s, --service VALUE Service control action: status, install, uninstall, start, stop, restart, reload (configuration) - -l, --logfile VALUE Path to log file. If empty: write to stdout; if 'syslog': write to system log - --pidfile VALUE Path to a file where PID is stored - --check-config Check configuration and exit - --no-check-update Don't check for updates - --no-mem-optimization Disable memory optimization + -c, --config VALUE Path to the config file. + -w, --work-dir VALUE Path to the working directory. + -h, --host VALUE Host address to bind HTTP server on. + -p, --port VALUE Port to serve HTTP pages on. + -s, --service VALUE Service control action: status, install, uninstall, start, stop, restart, reload (configuration). + -l, --logfile VALUE Path to log file. If empty: write to stdout; if 'syslog': write to system log. + --pidfile VALUE Path to a file where PID is stored. + --check-config Check configuration and exit. + --no-check-update Don't check for updates. + --no-mem-optimization Disable memory optimization. --no-etc-hosts Do not use the OS-provided hosts. - -v, --verbose Enable verbose output - --glinet Run in GL-Inet compatibility mode - --version Show the version and exit. Show more detailed version description with -v - --help Print this help + -v, --verbose Enable verbose output. + --glinet Run in GL-Inet compatibility mode. + --version Show the version and exit. Show more detailed version description with -v. + --help Print this help. ``` Please note, that the command-line arguments override settings from the configuration file.