1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

minor typo fixed

This commit is contained in:
Massimo Candela
2020-07-29 19:42:55 +02:00
parent a5556aa18c
commit 1d862ad16c

View File

@@ -47,7 +47,7 @@ const params = yargs
.alias('t', 'test')
.nargs('t', 0)
.describe('v', 'Test the configuration with fake BGP updates')
.describe('t', 'Test the configuration with fake BGP updates')
.alias('d', 'data-volume')
.nargs('d', 1)
@@ -159,7 +159,7 @@ switch(params._[0]) {
default: // Run monitor
global.DRY_RUN = !!params.t;
if (global.DRY_RUN) console.log("Testing BGPalerter configuration. WARNING: Remove -t option for production monitoring.");
if (global.DRY_RUN) console.log("Testing BGPalerter configuration. WARNING: remove -t option for production monitoring.");
const Worker = require("./src/worker").default;
module.exports = new Worker(params.c, params.d);
}