mirror of
https://github.com/msikma/pokesprite.git
synced 2026-09-08 02:15:11 -05:00
Add no-padding argument, and update defunct email address
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user