diff options
Diffstat (limited to 'server/tools/peertube.ts')
-rw-r--r-- | server/tools/peertube.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tools/peertube.ts b/server/tools/peertube.ts index 655f07f0c..a40c1332e 100644 --- a/server/tools/peertube.ts +++ b/server/tools/peertube.ts | |||
@@ -5,7 +5,7 @@ | |||
5 | import { registerTSPaths } from '../helpers/register-ts-paths' | 5 | import { registerTSPaths } from '../helpers/register-ts-paths' |
6 | registerTSPaths() | 6 | registerTSPaths() |
7 | 7 | ||
8 | import * as program from 'commander' | 8 | import { CommandOptions, program } from 'commander' |
9 | import { getSettings, version } from './cli' | 9 | import { getSettings, version } from './cli' |
10 | 10 | ||
11 | program | 11 | program |
@@ -28,11 +28,11 @@ program | |||
28 | .command( | 28 | .command( |
29 | 'diagnostic [action]', | 29 | 'diagnostic [action]', |
30 | 'like couple therapy, but for your instance', | 30 | 'like couple therapy, but for your instance', |
31 | { noHelp: true } as program.CommandOptions | 31 | { noHelp: true } as CommandOptions |
32 | ).alias('d') | 32 | ).alias('d') |
33 | .command('admin', | 33 | .command('admin', |
34 | 'manage an instance where you have elevated rights', | 34 | 'manage an instance where you have elevated rights', |
35 | { noHelp: true } as program.CommandOptions | 35 | { noHelp: true } as CommandOptions |
36 | ).alias('a') | 36 | ).alias('a') |
37 | 37 | ||
38 | // help on no command | 38 | // help on no command |