mirror of
https://github.com/astefanutti/decktape.git
synced 2024-12-12 13:49:13 +03:00
Specify option type for sizes
This commit is contained in:
parent
922138d49f
commit
6d8153a568
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user