Add no-padding argument, and update defunct email address

This commit is contained in:
Michiel Sikma
2016-12-13 12:17:33 +01:00
parent bd88bc96d9
commit 1ea56268a7
5 changed files with 30 additions and 9 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',
'generate-markdown', 'no-padding',
// Undocumented (debugging only):
'html-no-slugs',
);
@@ -114,6 +114,9 @@ class Usage extends TemplateFormatter
if ($arg == 'no-pngcrush') {
$s['generate_optimized'] = false;
}
if ($arg == 'no-padding') {
$s['pkmn_img_padding'] = 0;
}
if ($arg == 'generate-markdown') {
$s['generate_markdown'] = true;
}