From f269fa2ce0712f36e20f3c7455bc3e45819ab028 Mon Sep 17 00:00:00 2001 From: Ron Edgecomb Date: Thu, 24 Mar 2016 23:34:36 -0400 Subject: [PATCH] Fix #6 - parse retrieve option as integer --- bin/portastic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/portastic b/bin/portastic index 33b3fbd..08852fb 100755 --- a/bin/portastic +++ b/bin/portastic @@ -22,7 +22,7 @@ commander .command('find ') .alias('f') .description('Find ports that are available to use') - .option('-r, --retrieve', 'How many ports to retrieve') + .option('-r, --retrieve ', 'How many ports to retrieve', parseInt) .action(function(min, max, options) { portastic.find({ min: min,