summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-config.3
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man3/npm-config.3')
-rw-r--r--deps/npm/man/man3/npm-config.320
1 files changed, 10 insertions, 10 deletions
diff --git a/deps/npm/man/man3/npm-config.3 b/deps/npm/man/man3/npm-config.3
index 0c92c3a28..d2e57c26b 100644
--- a/deps/npm/man/man3/npm-config.3
+++ b/deps/npm/man/man3/npm-config.3
@@ -1,4 +1,4 @@
-.TH "NPM\-CONFIG" "3" "June 2015" "" ""
+.TH "NPM\-CONFIG" "3" "August 2015" "" ""
.SH "NAME"
\fBnpm-config\fR \- Manage the npm configuration files
.SH SYNOPSIS
@@ -16,29 +16,29 @@ This function acts much the same way as the command\-line version\. The first
element in the array tells config what to do\. Possible values are:
.RS 0
.IP \(bu 2
-\fBset\fR
- Sets a config parameter\. The second element in \fBargs\fR is interpreted as the
+\fBset\fP
+ Sets a config parameter\. The second element in \fBargs\fP is interpreted as the
key, and the third element is interpreted as the value\.
.IP \(bu 2
-\fBget\fR
- Gets the value of a config parameter\. The second element in \fBargs\fR is the
+\fBget\fP
+ Gets the value of a config parameter\. The second element in \fBargs\fP is the
key to get the value of\.
.IP \(bu 2
-\fBdelete\fR (\fBrm\fR or \fBdel\fR)
- Deletes a parameter from the config\. The second element in \fBargs\fR is the
+\fBdelete\fP (\fBrm\fP or \fBdel\fP)
+ Deletes a parameter from the config\. The second element in \fBargs\fP is the
key to delete\.
.IP \(bu 2
-\fBlist\fR (\fBls\fR)
+\fBlist\fP (\fBls\fP)
Show all configs that aren't secret\. No parameters necessary\.
.IP \(bu 2
-\fBedit\fR:
+\fBedit\fP:
Opens the config file in the default editor\. This command isn't very useful
programmatically, but it is made available\.
.RE
.P
To programmatically access npm configuration settings, or set them for
-the duration of a program, use the \fBnpm\.config\.set\fR and \fBnpm\.config\.get\fR
+the duration of a program, use the \fBnpm\.config\.set\fP and \fBnpm\.config\.get\fP
functions instead\.
.SH SEE ALSO
.RS 0