Specify option type for sizes

This commit is contained in:
Antonin Stefanutti 2016-05-02 12:28:12 +02:00
parent 922138d49f
commit 6d8153a568

View File

@ -40,6 +40,7 @@ parser.script('phantomjs decktape.js')
size: { size: {
abbr : 's', abbr : 's',
metavar : '<size>', metavar : '<size>',
type : 'string',
callback : parseSize, callback : parseSize,
transform : parseSize, transform : parseSize,
help : 'Size of the slides deck viewport: <width>x<height> (ex. 1280x720)' help : 'Size of the slides deck viewport: <width>x<height> (ex. 1280x720)'
@ -70,6 +71,7 @@ parser.script('phantomjs decktape.js')
screenshotSize: { screenshotSize: {
full : 'screenshots-size', full : 'screenshots-size',
metavar : '<size>', metavar : '<size>',
type : 'string',
list : true, list : true,
callback : parseSize, callback : parseSize,
transform : parseSize, transform : parseSize,