Improve comments on main(), which accepts the parsed arguments to the function
This commit is contained in:
parent
63134080ff
commit
80e0f9a7d9
|
@ -380,6 +380,8 @@ async function render (output, avconv) {
|
|||
/**
|
||||
* Parses the arguments and runs the process of exporting, sorting and then
|
||||
* "weaving" the frames back into a video
|
||||
*
|
||||
* @param {object} arg Object containing all arguments
|
||||
**/
|
||||
async function main (arg) {
|
||||
let input = arg.input.split(':')
|
||||
|
@ -408,6 +410,10 @@ async function main (arg) {
|
|||
avconv = true
|
||||
}
|
||||
|
||||
if (arg.tmp) {
|
||||
TMPDIR = arg.tmp
|
||||
}
|
||||
|
||||
if (arg.pattern) {
|
||||
pattern = arg.pattern.split(':')
|
||||
pattern = pattern.map(el =>{
|
||||
|
|
Loading…
Reference in New Issue