Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #14 from Licenser/master

Fixed bugs #11 / #12
  • Loading branch information...
commit 292e401f3078a6b377c4eb370a134588229d97e9 2 parents 2906662 + b950d5f
@mcavage mcavage authored
Showing with 6 additions and 6 deletions.
  1. +1 −1  bin/sdc-createinstrumentation
  2. +5 −5 bin/sdc-listmachines
View
2  bin/sdc-createinstrumentation
@@ -58,7 +58,7 @@ common.parseArguments(Options, ShortOptions, function(parsed) {
if (parsed.predicate)
opts.predicate = parsed.predicate;
- if (parsed.clone)
+ if (parsed.clone != undefined)
opts.clone = parsed.clone;
var client = common.newClient(parsed);
View
10 bin/sdc-listmachines
@@ -59,13 +59,13 @@ common.parseArguments(Options, ShortOptions, function(parsed) {
var opts = {};
var tags = {};
if (parsed.credentials) opts.credentials = parsed.credentials;
- if (parsed.dataset) opts.dataset = parsed.dataet;
- if (parsed.limit) opts.limit = parsed.limit;
- if (parsed.memory) opts.memory = parsed.memory;
+ if (parsed.dataset) opts.dataset = parsed.dataset;
+ if (parsed.limit != undefined) opts.limit = parsed.limit;
+ if (parsed.memory != undefined) opts.memory = parsed.memory;
if (parsed.name) opts.name = parsed.name;
- if (parsed.offset) opts.offset = parsed.offset;
+ if (parsed.offset != undefined) opts.offset = parsed.offset;
if (parsed.state) opts.state = parsed.state;
- if (parsed.tombstone) opts.tombstone = parsed.tombstone;
+ if (parsed.tombstone != undefined) opts.tombstone = parsed.tombstone;
if (parsed.type) opts.type = parsed.type;
if (parsed.tag) {
Please sign in to comment.
Something went wrong with that request. Please try again.