Skip to content

Commit

Permalink
Fix #6 - parse retrieve option as integer
Browse files Browse the repository at this point in the history
  • Loading branch information
greaterweb committed Mar 25, 2016
1 parent f75eaf9 commit f269fa2
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 f269fa2

Please sign in to comment.