aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/upload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/upload.ts')
-rw-r--r--server/tools/upload.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tools/upload.ts b/server/tools/upload.ts
index 94ea224b6..e835e61f6 100644
--- a/server/tools/upload.ts
+++ b/server/tools/upload.ts
@@ -12,6 +12,7 @@ program
12 .option('-U, --username <username>', 'Username') 12 .option('-U, --username <username>', 'Username')
13 .option('-p, --password <token>', 'Password') 13 .option('-p, --password <token>', 'Password')
14 .option('-n, --video-name <name>', 'Video name') 14 .option('-n, --video-name <name>', 'Video name')
15 .option('-P, --privacy <privacy number>', 'Privacy')
15 .option('-N, --nsfw', 'Video is Not Safe For Work') 16 .option('-N, --nsfw', 'Video is Not Safe For Work')
16 .option('-c, --category <category number>', 'Category number') 17 .option('-c, --category <category number>', 'Category number')
17 .option('-m, --comments-enabled', 'Enable comments') 18 .option('-m, --comments-enabled', 'Enable comments')
@@ -81,6 +82,7 @@ async function run () {
81 fixture: program['file'], 82 fixture: program['file'],
82 thumbnailfile: program['thumbnailPath'], 83 thumbnailfile: program['thumbnailPath'],
83 previewfile: program['previewPath'], 84 previewfile: program['previewPath'],
85 privacy: program['privacy'],
84 support: undefined 86 support: undefined
85 } 87 }
86 88