Skip to content

Commit

Permalink
Fix default for frame advance in yargs
Browse files Browse the repository at this point in the history
  • Loading branch information
workeffortwaste committed Nov 26, 2024
1 parent ecbf237 commit dafa562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const _yargs = yargs(hideBin(process.argv))
/* CLI arguments config */
const options = _yargs
.wrap(Math.min(110, _yargs.terminalWidth()))
.default({ C: 'mp4', r: 'gsap', p: 'auto', c: 'libx264', o: 'video.mp4', t: 'gsap', f: 60, S: 'document', z: 1, V: '1920x1080', v: 'auto', E: '"-pix_fmt yuv420p -crf 18"', q: true, h: true, chrome: false })
.default({ C: 'mp4', a: 'gsap', p: 'auto', c: 'libx264', o: 'video.mp4', t: 'gsap', f: 60, S: 'document', z: 1, V: '1920x1080', v: 'auto', E: '"-pix_fmt yuv420p -crf 18"', q: true, h: true, chrome: false })
.usage('$0 <url>', 'Export GreenSock (GSAP) animation to video')
.describe('s', '[browser] Custom script (Page)')
.describe('prepare-frame', '[browser] Custom script (Frame)')
Expand Down

0 comments on commit dafa562

Please sign in to comment.