X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Ftools%2Fpeertube.ts;h=a40c1332e9158f29a375e293af3bea67e023cdb1;hb=12152aa09ff47dc5c5a627c27030855e254e58ad;hp=655f07f0c86a59a9691ff13a841fcb57cb611c13;hpb=8cc6120118a9fb75b3165c9f84b2d0068d1ade72;p=github%2FChocobozzz%2FPeerTube.git 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 @@ import { registerTSPaths } from '../helpers/register-ts-paths' registerTSPaths() -import * as program from 'commander' +import { CommandOptions, program } from 'commander' import { getSettings, version } from './cli' program @@ -28,11 +28,11 @@ program .command( 'diagnostic [action]', 'like couple therapy, but for your instance', - { noHelp: true } as program.CommandOptions + { noHelp: true } as CommandOptions ).alias('d') .command('admin', 'manage an instance where you have elevated rights', - { noHelp: true } as program.CommandOptions + { noHelp: true } as CommandOptions ).alias('a') // help on no command