From 532cead66f96125a46308ba5ab7248fe9b08361d Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Wed, 26 Aug 2015 14:03:22 -0400 Subject: [PATCH] allow multiple filters to instances and packages --- lib/do_instances.js | 3 --- lib/do_packages.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/do_instances.js b/lib/do_instances.js index 08a8678..d2805e8 100644 --- a/lib/do_instances.js +++ b/lib/do_instances.js @@ -43,9 +43,6 @@ function do_instances(subcmd, opts, args, callback) { if (opts.help) { this.do_help('help', {}, [subcmd], callback); return; - } else if (args.length > 1) { - callback(new Error('too many args: ' + args)); - return; } var columns = opts.o.trim().split(','); diff --git a/lib/do_packages.js b/lib/do_packages.js index 4113b7e..50c84e3 100644 --- a/lib/do_packages.js +++ b/lib/do_packages.js @@ -12,9 +12,6 @@ function do_packages (subcmd, opts, args, callback) { if (opts.help) { this.do_help('help', {}, [subcmd], callback); return; - } else if (args.length > 1) { - callback(new Error('too many args: ' + args)); - return; } var columns = 'shortid,name,default,memory,disk'.split(',');