Skip to content

Commit

Permalink
Merge pull request #7 from greaterweb/bugfix/6-parsing-retrieve-option
Browse files Browse the repository at this point in the history
CLI Find Command - Parse Retrieve Option as Integer
  • Loading branch information
alanhoff committed Mar 29, 2016
2 parents f75eaf9 + f269fa2 commit d27c7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/portastic
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ commander
.command('find <min> <max>')
.alias('f')
.description('Find ports that are available to use')
.option('-r, --retrieve', 'How many ports to retrieve')
.option('-r, --retrieve <n>', 'How many ports to retrieve', parseInt)
.action(function(min, max, options) {
portastic.find({
min: min,
Expand Down

0 comments on commit d27c7d4

Please sign in to comment.