From 5dd7446eaeb8416f97f66185a638ff728bb7942f Mon Sep 17 00:00:00 2001 From: Tom <25043847+Douile@users.noreply.github.com> Date: Sat, 4 Jan 2020 01:03:48 +0000 Subject: [PATCH] Force host argument to be string (Int causes error) --- bin/gamedig.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/gamedig.js b/bin/gamedig.js index 720928e..f0e0126 100644 --- a/bin/gamedig.js +++ b/bin/gamedig.js @@ -4,7 +4,8 @@ const Minimist = require('minimist'), Gamedig = require('..'); const argv = Minimist(process.argv.slice(2), { - boolean: ['pretty','debug'] + boolean: ['pretty','debug'], + string: ['_'] }); const debug = argv.debug;