mirror of
https://github.com/astefanutti/decktape.git
synced 2024-12-13 10:20:46 +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: {
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user