Add option to exclude the special icons

This commit is contained in:
Michiel Sikma
2016-12-16 15:01:27 +01:00
parent dac78b84b8
commit 45c0b609c4
4 changed files with 13 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class Usage extends TemplateFormatter
public static $ARG_NONE = array(
'exclude-pkmn', 'exclude-shiny', 'exclude-regular', 'exclude-forms',
'exclude-icon-sets', 'verbose', 'monochrome', 'help', 'no-pngcrush',
'generate-markdown', 'no-padding',
'generate-markdown', 'no-padding', 'exclude-special-icons',
// Undocumented (debugging only):
'html-no-slugs',
);
@@ -99,6 +99,9 @@ class Usage extends TemplateFormatter
if ($arg == 'exclude-icon-sets') {
$s['include_icon_sets'] = false;
}
if ($arg == 'exclude-special-icons') {
$s['include_special_icons'] = false;
}
if ($arg == 'exclude-forms') {
$s['include_pkmn_forms'] = false;
}