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