mirror of
https://github.com/friendica/friendica
synced 2024-11-19 03:43:40 +00:00
Update server block console help text to reflect the addition of shell wildcard syntax
This commit is contained in:
parent
46f7b79c7d
commit
1dbdb9dd15
1 changed files with 10 additions and 5 deletions
|
@ -23,15 +23,20 @@ class ServerBlock extends Console
|
||||||
protected function getHelp()
|
protected function getHelp()
|
||||||
{
|
{
|
||||||
$help = <<<HELP
|
$help = <<<HELP
|
||||||
console serverblock - Manage blocked servers
|
console serverblock - Manage blocked server domain patterns
|
||||||
Usage
|
Usage
|
||||||
bin/console serverblock [-h|--help|-?] [-v]
|
bin/console serverblock [-h|--help|-?] [-v]
|
||||||
bin/console serverblock add <server> <reason> [-h|--help|-?] [-v]
|
bin/console serverblock add <pattern> <reason> [-h|--help|-?] [-v]
|
||||||
bin/console serverblock remove <server> [-h|--help|-?] [-v]
|
bin/console serverblock remove <pattern> [-h|--help|-?] [-v]
|
||||||
|
|
||||||
Description
|
Description
|
||||||
With this tool, you can list the current blocked servers
|
With this tool, you can list the current blocked server domain patterns
|
||||||
or you can add / remove a blocked server from the list
|
or you can add / remove a blocked server domain pattern from the list.
|
||||||
|
|
||||||
|
Patterns are case-insensitive shell wildcard comprising the following special characters:
|
||||||
|
- * : Any number of characters
|
||||||
|
- ? : Any single character
|
||||||
|
- [<char1><char2>...] : char1 or char2 or...
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-h|--help|-? Show help information
|
-h|--help|-? Show help information
|
||||||
|
|
Loading…
Reference in a new issue