mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +00:00
Fix lowercase aliases for parameters
This commit is contained in:
@@ -17,9 +17,9 @@ import axios from 'axios';
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const argv = yargs.options({
|
const argv = yargs.options({
|
||||||
videoUrls: { type: 'array', demandOption: true },
|
videoUrls: { type: 'array', alias: 'videourls', demandOption: true },
|
||||||
username: { type: 'string', demandOption: false },
|
username: { type: 'string', demandOption: false },
|
||||||
outputDirectory: { type: 'string', default: 'videos' },
|
outputDirectory: { type: 'string', alias: 'outputdirectory', default: 'videos' },
|
||||||
format: {
|
format: {
|
||||||
alias:"f",
|
alias:"f",
|
||||||
describe: `Expose youtube-dl --format option, for details see\n
|
describe: `Expose youtube-dl --format option, for details see\n
|
||||||
|
|||||||
Reference in New Issue
Block a user