prof: needs at least 1 argument

This commit is contained in:
Jonathan Chang 2021-02-14 20:50:15 +11:00
parent 320bccb38d
commit 6c2d357c0e
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ module Homebrew
switch "--stackprof", switch "--stackprof",
description: "Use `stackprof` instead of `ruby-prof` (the default)." description: "Use `stackprof` instead of `ruby-prof` (the default)."
named_args :command named_args :command, min: 1
end end
end end

View File

@ -1207,7 +1207,7 @@ Apply the bottle commit and publish bottles to Bintray or GitHub Releases.
* `--root-url`: * `--root-url`:
Use the specified *`URL`* as the root of the bottle's URL instead of Homebrew's default. 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`. Run Homebrew with a Ruby profiler. For example, `brew prof readall`.

View File

@ -1687,7 +1687,7 @@ Upload to the specified Bintray organisation (default: \fBhomebrew\fR)\.
\fB\-\-root\-url\fR \fB\-\-root\-url\fR
Use the specified \fIURL\fR as the root of the bottle\'s URL instead of Homebrew\'s default\. 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\. Run Homebrew with a Ruby profiler\. For example, \fBbrew prof readall\fR\.
. .
.TP .TP