aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-03 09:33:05 +0100
committerChocobozzz <me@florianbigard.com>2021-02-03 09:45:08 +0100
commitba5a8d89bbf049e4afc41543bcc072cccdb02669 (patch)
tree6cc6b2dca17745cc0824c7ad4515f3bc4883fa4a /server/tools/peertube.ts
parent29f148a61381727a432c22a71c7a2b7cc23d9c9e (diff)
downloadPeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.gz
PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.zst
PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.zip
Update server dependencies
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))