Skip to content

Commit

Permalink
bugfix cli int parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Jun 15, 2018
1 parent cb09447 commit f2166c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ module.exports = async (argv) => {
.usage('[options] <videos...>')
.option('-o, --output <output>', 'path to mp4 file to write', (s) => s, 'out.mp4')
.option('-t, --transition-name <name>', 'name of gl-transition to use', (s) => s, 'fade')
.option('-d, --transition-duration <duration>', 'duration of transition to use in ms', parseInt, 500)
.option('-d, --transition-duration <duration>', 'duration of transition to use in ms', (v) => parseInt(v), 500)
.option('-T, --transitions <file>', 'json file to load transitions from')
.option('-f, --frame-format <format>', 'format to use for temp frame images', /^(raw|png|jpg)$/i, 'raw')
.option('-c, --concurrency <number>', 'number of videos to process in parallel', parseInt, 4)
.option('-c, --concurrency <number>', 'number of videos to process in parallel', (v) => parseInt(v), 4)
.option('-C, --no-cleanup-frames', 'disables cleaning up temp frame images')
.parse(argv)

Expand Down

0 comments on commit f2166c9

Please sign in to comment.