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(',');