allow multiple filters to instances and packages
This commit is contained in:
parent
0cfa83dedc
commit
532cead66f
@ -43,9 +43,6 @@ function do_instances(subcmd, opts, args, callback) {
|
|||||||
if (opts.help) {
|
if (opts.help) {
|
||||||
this.do_help('help', {}, [subcmd], callback);
|
this.do_help('help', {}, [subcmd], callback);
|
||||||
return;
|
return;
|
||||||
} else if (args.length > 1) {
|
|
||||||
callback(new Error('too many args: ' + args));
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var columns = opts.o.trim().split(',');
|
var columns = opts.o.trim().split(',');
|
||||||
|
@ -12,9 +12,6 @@ function do_packages (subcmd, opts, args, callback) {
|
|||||||
if (opts.help) {
|
if (opts.help) {
|
||||||
this.do_help('help', {}, [subcmd], callback);
|
this.do_help('help', {}, [subcmd], callback);
|
||||||
return;
|
return;
|
||||||
} else if (args.length > 1) {
|
|
||||||
callback(new Error('too many args: ' + args));
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var columns = 'shortid,name,default,memory,disk'.split(',');
|
var columns = 'shortid,name,default,memory,disk'.split(',');
|
||||||
|
Reference in New Issue
Block a user