update the test of the help text

This commit is contained in:
Tobias Diekershoff 2020-08-07 11:49:25 +02:00
parent b191c8c11c
commit 97df01c938
2 changed files with 26 additions and 21 deletions

View file

@ -48,26 +48,27 @@ class ServerBlock extends Console
$help = <<<HELP $help = <<<HELP
console serverblock - Manage blocked server domain patterns 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 <pattern> <reason> [-h|--help|-?] [-v] bin/console serverblock add <pattern> <reason> [-h|--help|-?] [-v]
bin/console serverblock remove <pattern> [-h|--help|-?] [-v] bin/console serverblock remove <pattern> [-h|--help|-?] [-v]
bin/console serverblock export <filename> bin/console serverblock export <filename>
bin/console serverblock import <filename> bin/console serverblock import <filename>
Description Description
With this tool, you can list the current blocked server domain patterns 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. or you can add / remove a blocked server domain pattern from the list.
Using the export and import options you can share your server blocklist Using the export and import options you can share your server blocklist
with other node admins by CSV files. with other node admins by CSV files.
Patterns are case-insensitive shell wildcard comprising the following special characters: Patterns are case-insensitive shell wildcard comprising the following special characters:
- * : Any number of characters - * : Any number of characters
- ? : Any single character - ? : Any single character
- [<char1><char2>...] : char1 or char2 or... - [<char1><char2>...] : char1 or char2 or...
Options Options
-h|--help|-? Show help information -h|--help|-? Show help information
-v Show more debug information. -v Show more debug information.
HELP; HELP;
return $help; return $help;
} }

View file

@ -334,13 +334,17 @@ CONS;
$help = <<<HELP $help = <<<HELP
console serverblock - Manage blocked server domain patterns 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 <pattern> <reason> [-h|--help|-?] [-v] bin/console serverblock add <pattern> <reason> [-h|--help|-?] [-v]
bin/console serverblock remove <pattern> [-h|--help|-?] [-v] bin/console serverblock remove <pattern> [-h|--help|-?] [-v]
bin/console serverblock export <filename>
bin/console serverblock import <filename>
Description Description
With this tool, you can list the current blocked server domain patterns 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. or you can add / remove a blocked server domain pattern from the list.
Using the export and import options you can share your server blocklist
with other node admins by CSV files.
Patterns are case-insensitive shell wildcard comprising the following special characters: Patterns are case-insensitive shell wildcard comprising the following special characters:
- * : Any number of characters - * : Any number of characters