aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/peertube.ts')
-rw-r--r--server/tools/peertube.ts17
1 files changed, 6 insertions, 11 deletions
diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts
index 88dd5f7f6..655f07f0c 100644
--- a/server/tools/peertube.ts
+++ b/server/tools/peertube.ts
@@ -69,17 +69,12 @@ getSettings()
69 : 'instance ' + settings.remotes[settings.default] + ' selected' 69 : 'instance ' + settings.remotes[settings.default] + ' selected'
70 70
71 program 71 program
72 .on('--help', function () { 72 .addHelpText('after', '\n\n State: ' + state + '\n\n' +
73 console.log() 73 ' Examples:\n\n' +
74 console.log(' State: ' + state) 74 ' $ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD"\n' +
75 console.log() 75 ' $ peertube up <videoFile>\n' +
76 console.log(' Examples:') 76 ' $ peertube watch https://peertube.cpy.re/videos/watch/e8a1af4e-414a-4d58-bfe6-2146eed06d10\n'
77 console.log() 77 )
78 console.log(' $ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password "PEERTUBE_PASSWORD"')
79 console.log(' $ peertube up <videoFile>')
80 console.log(' $ peertube watch https://peertube.cpy.re/videos/watch/e8a1af4e-414a-4d58-bfe6-2146eed06d10')
81 console.log()
82 })
83 .parse(process.argv) 78 .parse(process.argv)
84 }) 79 })
85 .catch(err => console.error(err)) 80 .catch(err => console.error(err))