allow 'ANY' record

This commit is contained in:
AJ ONeal 2017-03-30 19:28:32 -06:00
parent e440c0069f
commit 97cc770a2e
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ function request(query, opts) {
cli.main(function (args, cli) { cli.main(function (args, cli) {
args.forEach(function (arg) { args.forEach(function (arg) {
if (-1 !== commonTypes.indexOf(arg.toUpperCase())) { if (-1 !== commonTypes.concat([ 'ANY' ]).indexOf(arg.toUpperCase())) {
if (cli.type) { if (cli.type) {
console.error("'type' was specified more than once"); console.error("'type' was specified more than once");
process.exit(1); process.exit(1);