소스 검색

Fix upload script preview short option

Chocobozzz 3 달 전
부모
커밋
780f17f116
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')