mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
d8fc0ae50f
PR-URL: https://github.com/nodejs/node/pull/30904 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
43 lines
928 B
Groff
43 lines
928 B
Groff
.TH "NPM\-HELP\-SEARCH" "1" "December 2019" "" ""
|
|
.SH "NAME"
|
|
\fBnpm-help-search\fR \- Search npm help documentation
|
|
.SS Synopsis
|
|
.P
|
|
.RS 2
|
|
.nf
|
|
npm help\-search <text>
|
|
.fi
|
|
.RE
|
|
.SS Description
|
|
.P
|
|
This command will search the npm markdown documentation files for the
|
|
terms provided, and then list the results, sorted by relevance\.
|
|
.P
|
|
If only one result is found, then it will show that help topic\.
|
|
.P
|
|
If the argument to \fBnpm help\fP is not a known help topic, then it will
|
|
call \fBhelp\-search\fP\|\. It is rarely if ever necessary to call this
|
|
command directly\.
|
|
.SS Configuration
|
|
.SS long
|
|
.RS 0
|
|
.IP \(bu 2
|
|
Type: Boolean
|
|
.IP \(bu 2
|
|
Default: false
|
|
|
|
.RE
|
|
.P
|
|
If true, the "long" flag will cause help\-search to output context around
|
|
where the terms were found in the documentation\.
|
|
.P
|
|
If false, then help\-search will just list out the help topics found\.
|
|
.SS See Also
|
|
.RS 0
|
|
.IP \(bu 2
|
|
npm help npm
|
|
.IP \(bu 2
|
|
npm help help
|
|
|
|
.RE
|