diff --git a/fail2ban/protocol.py b/fail2ban/protocol.py index 077091f7..0a8322d4 100644 --- a/fail2ban/protocol.py +++ b/fail2ban/protocol.py @@ -58,7 +58,7 @@ protocol = [ ["banned", "return jails with banned IPs as dictionary"], ["banned ... ]", "return list(s) of jails where given IP(s) are banned"], ["status", "gets the current status of the server"], -["status --all [FLAVOR]", "gets the current status of all jails, with optional flavor or extended info"], +["status --all [FLAVOR]", "gets the current status of all jails, with optional output style [FLAVOR]. Flavors: 'basic' (default), 'cymru', 'short', 'stats'"], ["stat[istic]s", "gets the current statistics of all jails as table"], ["ping", "tests if the server is alive"], ["echo", "for internal usage, returns back and outputs a given string"], @@ -84,7 +84,7 @@ protocol = [ ["add ", "creates using "], ["start ", "starts the jail "], ["stop ", "stops the jail . The jail is removed"], -["status [FLAVOR]", "gets the current status of , with optional flavor or extended info"], +["status [FLAVOR]", "gets the current status of , with optional output style [FLAVOR]. Flavors: 'basic' (default), 'cymru', 'short', 'stats'"], ['', "JAIL CONFIGURATION", ""], ["set idle on|off", "sets the idle state of "], ["set ignoreself true|false", "allows the ignoring of own IP addresses"], diff --git a/man/fail2ban-client.1 b/man/fail2ban-client.1 index 05ed1cbd..8613f29f 100644 --- a/man/fail2ban-client.1 +++ b/man/fail2ban-client.1 @@ -125,8 +125,8 @@ server .TP \fBstatus \fB\-\-all\fR [FLAVOR]\fR gets the current status of all -jails, with optional flavor or -extended info +jails, with optional output style [FLAVOR]. +Flavors: 'basic' (default), 'cymru', 'short', 'stats'. .TP \fBstat[istic]s\fR gets the current statistics of all @@ -217,9 +217,9 @@ stops the jail . The jail is removed .TP \fBstatus [FLAVOR]\fR -gets the current status of , -with optional flavor or extended -info +gets the current status of all +jails, with optional output style [FLAVOR]. +Flavors: 'basic' (default), 'cymru', 'short', 'stats'. .IP JAIL CONFIGURATION .TP