Skip to content

Commit

Permalink
Cast --limit to integer otherwise it doesn't work :)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jul 14, 2017
1 parent f6ba6ec commit 30ad0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/teapot/command/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Build < Samovar::Command
self.description = "Build the specified target."

options do
option '-j/-l/--limit <n>', "Limit the build to <n> concurrent processes."
option '-j/-l/--limit <n>', "Limit the build to <n> concurrent processes.", type: Integer
option '--only', "Only build direct dependencies."
option '-c/--continuous', "Run the build graph continually (experimental)."
end
Expand Down

0 comments on commit 30ad0a0

Please sign in to comment.