diff --git a/bin/dig.js b/bin/dig.js index 7227c3f..874866a 100755 --- a/bin/dig.js +++ b/bin/dig.js @@ -271,7 +271,7 @@ function request(query, opts) { cli.main(function (args, cli) { args.forEach(function (arg) { - if (-1 !== commonTypes.indexOf(arg.toUpperCase())) { + if (-1 !== commonTypes.concat([ 'ANY' ]).indexOf(arg.toUpperCase())) { if (cli.type) { console.error("'type' was specified more than once"); process.exit(1);