Browse Source

Fix upload script preview short option

Chocobozzz 2 months ago
parent
commit
780f17f116
1 changed files with 1 additions and 1 deletions
  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('-p, --password <token>', 'Password')
     .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('-n, --video-name <name>', 'Video name')
     .option('-c, --category <category_number>', 'Category number')