From: Chocobozzz Date: Thu, 16 Apr 2020 14:20:19 +0000 (+0200) Subject: Fix import/upload CLI options X-Git-Tag: v2.2.0-rc.1~186 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=bd65cf02ff7fba8eced98a4fef0c45d9737ced80;p=github%2FChocobozzz%2FPeerTube.git Fix import/upload CLI options --- diff --git a/server/tools/cli.ts b/server/tools/cli.ts index ca05dab92..d5416fc38 100644 --- a/server/tools/cli.ts +++ b/server/tools/cli.ts @@ -119,9 +119,10 @@ function buildCommonVideoOptions (command: CommanderStatic) { .option('-d, --video-description ', 'Video description') .option('-P, --privacy ', 'Privacy') .option('-C, --channel-name ', 'Channel name') - .option('-m, --comments-enabled', 'Enable comments') + .option('--no-comments-enabled', 'Disable video comments') .option('-s, --support ', 'Video support text') - .option('-w, --wait-transcoding', 'Wait transcoding before publishing the video') + .option('--no-wait-transcoding', 'Do not wait transcoding before publishing the video') + .option('--no-download-enabled', 'Disable video download') .option('-v, --verbose ', 'Verbosity, from 0/\'error\' to 4/\'debug\'', 'info') }