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 <e.burkov@adguard.com>
Date:   Tue Apr 13 14:54:11 2021 +0300

    Configuration: fix help
Eugene Burkov 2021-04-13 15:13:38 +03:00
parent 2d1f7bea42
commit 17133b2991
1 changed files with 14 additions and 14 deletions

@ -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.