OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b2c3d
)
man: add `wp db query` example
author
scribu
<mail@scribu.net>
Mon, 29 Apr 2013 18:13:37 +0000
(21:13 +0300)
committer
scribu
<mail@scribu.net>
Mon, 29 Apr 2013 18:13:39 +0000
(21:13 +0300)
man-src/db.txt
patch
|
blob
|
history
man/db.1
patch
|
blob
|
history
diff --git
a/man-src/db.txt
b/man-src/db.txt
index
e605093
..
a9fb12b
100644
(file)
--- a/
man-src/db.txt
+++ b/
man-src/db.txt
@@
-11,3
+11,7
@@
* `<SQL>`:
A SQL query.
+
+## EXAMPLES
+
+wp db query < debug.sql
diff --git
a/man/db.1
b/man/db.1
index
80c7f34
..
98c8a6b
100644
(file)
--- a/
man/db.1
+++ b/
man/db.1
@@
-25,7
+25,7
@@
wp db repair
wp db cli
.
.P
-wp db query
\fIsql\fR
+wp db query
[\fIsql\fR]
.
.P
wp db export [\fIfile\fR]
@@
-109,4
+109,6
@@
The name of the export file\. If omitted, it will be \'{dbname}\.sql\'
.
.IP
A SQL query\.
-
+.
+.SH "EXAMPLES"
+wp db query < debug\.sql