Explorar o código

Fix upload script preview short option

Chocobozzz hai 2 meses
pai
achega
780f17f116
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/peertube-cli/src/peertube-upload.ts

+ 1 - 1
apps/peertube-cli/src/peertube-upload.ts

@@ -38,7 +38,7 @@ export function defineUploadProgram () {
     .option('-U, --username <username>', 'Username')
     .option('-U, --username <username>', 'Username')
     .option('-p, --password <token>', 'Password')
     .option('-p, --password <token>', 'Password')
     .option('-b, --thumbnail <thumbnailPath>', 'Thumbnail path')
     .option('-b, --thumbnail <thumbnailPath>', 'Thumbnail path')
-    .option('-v, --preview <previewPath>', 'Preview path')
+    .option('--preview <previewPath>', 'Preview path')
     .option('-f, --file <file>', 'Video absolute file path')
     .option('-f, --file <file>', 'Video absolute file path')
     .option('-n, --video-name <name>', 'Video name')
     .option('-n, --video-name <name>', 'Video name')
     .option('-c, --category <category_number>', 'Category number')
     .option('-c, --category <category_number>', 'Category number')