1
0
Fork 0

Update server block console help text to reflect the addition of shell wildcard syntax

This commit is contained in:
Hypolite Petovan 2019-07-25 22:36:50 -04:00
parent 46f7b79c7d
commit 1dbdb9dd15

View file

@ -23,15 +23,20 @@ class ServerBlock extends Console
protected function getHelp()
{
$help = <<<HELP
console serverblock - Manage blocked servers
console serverblock - Manage blocked server domain patterns
Usage
bin/console serverblock [-h|--help|-?] [-v]
bin/console serverblock add <server> <reason> [-h|--help|-?] [-v]
bin/console serverblock remove <server> [-h|--help|-?] [-v]
bin/console serverblock add <pattern> <reason> [-h|--help|-?] [-v]
bin/console serverblock remove <pattern> [-h|--help|-?] [-v]
Description
With this tool, you can list the current blocked servers
or you can add / remove a blocked server from the list
With this tool, you can list the current blocked server domain patterns
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
-h|--help|-? Show help information