Merge pull request #10614 from jonchang/brew-prof-min
prof: needs at least 1 argument
This commit is contained in:
commit
4c26b9b17e
@ -17,7 +17,7 @@ module Homebrew
|
||||
switch "--stackprof",
|
||||
description: "Use `stackprof` instead of `ruby-prof` (the default)."
|
||||
|
||||
named_args :command
|
||||
named_args :command, min: 1
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -1207,7 +1207,7 @@ Apply the bottle commit and publish bottles to Bintray or GitHub Releases.
|
||||
* `--root-url`:
|
||||
Use the specified *`URL`* as the root of the bottle's URL instead of Homebrew's default.
|
||||
|
||||
### `prof` [*`--stackprof`*] [*`command`* ...]
|
||||
### `prof` [*`--stackprof`*] *`command`* [...]
|
||||
|
||||
Run Homebrew with a Ruby profiler. For example, `brew prof readall`.
|
||||
|
||||
|
||||
@ -1687,7 +1687,7 @@ Upload to the specified Bintray organisation (default: \fBhomebrew\fR)\.
|
||||
\fB\-\-root\-url\fR
|
||||
Use the specified \fIURL\fR as the root of the bottle\'s URL instead of Homebrew\'s default\.
|
||||
.
|
||||
.SS "\fBprof\fR [\fI\-\-stackprof\fR] [\fIcommand\fR \.\.\.]"
|
||||
.SS "\fBprof\fR [\fI\-\-stackprof\fR] \fIcommand\fR [\.\.\.]"
|
||||
Run Homebrew with a Ruby profiler\. For example, \fBbrew prof readall\fR\.
|
||||
.
|
||||
.TP
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user