summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-edit.1
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man1/npm-edit.1')
-rw-r--r--deps/npm/man/man1/npm-edit.128
1 files changed, 13 insertions, 15 deletions
diff --git a/deps/npm/man/man1/npm-edit.1 b/deps/npm/man/man1/npm-edit.1
index 01cf30c809..21e6d9ffad 100644
--- a/deps/npm/man/man1/npm-edit.1
+++ b/deps/npm/man/man1/npm-edit.1
@@ -1,19 +1,20 @@
-.TH "NPM\-EDIT" "1" "October 2019" "" ""
+.TH "NPM\-EDIT" "" "November 2019" "" ""
.SH "NAME"
-\fBnpm-edit\fR \- Edit an installed package
-.SH SYNOPSIS
+\fBnpm-edit\fR
+.SH Edit an installed package
+.SS Synopsis
.P
.RS 2
.nf
npm edit <pkg>[/<subpkg>\.\.\.]
.fi
.RE
-.SH DESCRIPTION
+.SS Description
.P
Selects a (sub)dependency in the current
working directory and opens the package folder in the default editor
(or whatever you've configured as the npm \fBeditor\fP config \-\- see
-npm help 7 \fBnpm\-config\fP\|\.)
+\fBnpm\-config\fP \fInpm\-config)\.\fR
.P
After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages\.
@@ -21,7 +22,7 @@ changes in compiled packages\.
For instance, you can do \fBnpm install connect\fP to install connect
into your package, and then \fBnpm edit connect\fP to make a few
changes to your locally installed copy\.
-.SH CONFIGURATION
+.SS Configuration
.SS editor
.RS 0
.IP \(bu 2
@@ -33,20 +34,17 @@ Type: path
.RE
.P
The command to run for \fBnpm edit\fP or \fBnpm config edit\fP\|\.
-.SH SEE ALSO
+.SS See Also
.RS 0
.IP \(bu 2
-npm help 5 folders
+npm help folders
.IP \(bu 2
-npm help explore
+npm help npm\-explore
.IP \(bu 2
-npm help install
+npm help npm\-install
.IP \(bu 2
-npm help config
+npm help npm\-config
.IP \(bu 2
-npm help 7 config
-.IP \(bu 2
-npm help 5 npmrc
+npm help npmrc
.RE
-