allow 'ANY' record
This commit is contained in:
parent
e440c0069f
commit
97cc770a2e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue