docs: add dry run flag to readme (!100)

* Update `README` to include the new `--dry-run` flag

https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/100
This commit is contained in:
Hector 2023-06-22 18:37:01 +00:00
parent 18000cf9ef
commit e46da3e7dd

View file

@ -122,6 +122,8 @@ There are no configuration files.
Flags: Flags:
-h, --help Show context-sensitive help. -h, --help Show context-sensitive help.
-v, --version Show version info and exit -v, --version Show version info and exit
--dry-run Attempt to connect to the fail2ban socket then exit
before starting the server
--web.listen-address=":9191" Address to use for the metrics server --web.listen-address=":9191" Address to use for the metrics server
($F2B_WEB_LISTEN_ADDRESS) ($F2B_WEB_LISTEN_ADDRESS)
--collector.f2b.socket="/var/run/fail2ban/fail2ban.sock" --collector.f2b.socket="/var/run/fail2ban/fail2ban.sock"