diff options
-rw-r--r-- | packages/peertube-runner/peertube-runner.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/peertube-runner/peertube-runner.ts b/packages/peertube-runner/peertube-runner.ts index ddad84f1f..9c3e498d6 100644 --- a/packages/peertube-runner/peertube-runner.ts +++ b/packages/peertube-runner/peertube-runner.ts | |||
@@ -5,7 +5,10 @@ import { listRegistered, registerRunner, unregisterRunner } from './register' | |||
5 | import { RunnerServer } from './server' | 5 | import { RunnerServer } from './server' |
6 | import { ConfigManager, logger } from './shared' | 6 | import { ConfigManager, logger } from './shared' |
7 | 7 | ||
8 | const packageJSON = require('./package.json') | ||
9 | |||
8 | const program = new Command() | 10 | const program = new Command() |
11 | .version(packageJSON.version) | ||
9 | .option( | 12 | .option( |
10 | '--id <id>', | 13 | '--id <id>', |
11 | 'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine', | 14 | 'Runner server id, so you can run multiple PeerTube server runners with different configurations on the same machine', |