OSDN Git Service

misc man fixes
authorscribu <mail@scribu.net>
Sat, 22 Jun 2013 19:28:49 +0000 (22:28 +0300)
committerscribu <mail@scribu.net>
Sat, 22 Jun 2013 19:28:53 +0000 (22:28 +0300)
[ci skip]

18 files changed:
man-src/cache.txt
man-src/core-download.txt
man-src/core-init-tests.txt
man-src/db.txt
man-src/scaffold-plugin-tests.txt
man-src/theme-delete.txt
man-src/theme-install.txt
man-src/theme-update.txt
man-src/transient.txt
man/cache.1
man/core-download.1
man/core-init-tests.1
man/db.1
man/scaffold-plugin-tests.1
man/theme-delete.1
man/theme-install.1
man/theme-update.1
man/transient.1

index 7b25aa6..70856ff 100644 (file)
@@ -1,5 +1,5 @@
 ## EXAMPLES
 
-wp cache set my_key my_value my_group 300
+       wp cache set my_key my_value my_group 300
 
-wp cache get my_key my_group
+       wp cache get my_key my_group
index 74448c9..a72ecc6 100644 (file)
@@ -15,4 +15,4 @@ ignored in this case.
 
 ## EXAMPLES
 
-       Download version 3.3: wp core download --version=3.3
+       wp core download --version=3.3
index 9f55ec5..55d72ea 100644 (file)
@@ -19,4 +19,4 @@ you run the tests.
 
 ## EXAMPLE
 
-wp core init-tests ~/svn/wp-tests --dbname=wp_test --dbuser=wp_test
+       wp core init-tests ~/svn/wp-tests --dbname=wp_test --dbuser=wp_test
index a9fb12b..d7ccfb7 100644 (file)
@@ -14,4 +14,5 @@
 
 ## EXAMPLES
 
-wp db query < debug.sql
+       # execute a query stored in a file
+       wp db query < debug.sql
index 927c7fe..7224977 100644 (file)
@@ -14,4 +14,4 @@ variable.
 
 ## EXAMPLE
 
-wp scaffold plugin-tests hello
+       wp scaffold plugin-tests hello
index 2250674..030f781 100644 (file)
@@ -1,6 +1,6 @@
 ## OPTIONS
 
-* <theme>:
+* `<theme>`:
 
        The theme to delete.
 
index 28e26a3..a7377e6 100644 (file)
@@ -1,6 +1,6 @@
 ## OPTIONS
 
-* <theme>:
+* `<theme>`:
 
        A theme slug or the path to a zip file.
 
index d3439e4..b7e6109 100644 (file)
@@ -1,6 +1,6 @@
 ## OPTIONS
 
-* <theme>:
+* `<theme>`:
 
        The theme to update.
 
index 175ca9c..64dcebe 100644 (file)
@@ -1,3 +1,3 @@
 ## EXAMPLES
 
-wp transient set my_key my_value 300
+       wp transient set my_key my_value 300
index 2f72425..7587a2a 100644 (file)
@@ -90,7 +90,12 @@ Set a value to the object cache\.
 Attempts to determine which object cache is being used\.
 .
 .SH "EXAMPLES"
-wp cache set my_key my_value my_group 300
 .
-.P
+.nf
+
+wp cache set my_key my_value my_group 300
+
 wp cache get my_key my_group
+.
+.fi
+
index 7f2725d..7f607ca 100644 (file)
@@ -33,7 +33,7 @@ Overwrites existing files, if present\.
 .
 .nf
 
-Download version 3\.3: wp core download \-\-version=3\.3
+wp core download \-\-version=3\.3
 .
 .fi
 
index 7e5c481..e5001c3 100644 (file)
@@ -36,4 +36,10 @@ Set the database user\.
 Set the database user password\.
 .
 .SH "EXAMPLE"
+.
+.nf
+
 wp core init\-tests ~/svn/wp\-tests \-\-dbname=wp_test \-\-dbuser=wp_test
+.
+.fi
+
index eaca52f..7524abe 100644 (file)
--- a/man/db.1
+++ b/man/db.1
@@ -110,4 +110,11 @@ The name of the export file\. If omitted, it will be \'{dbname}\.sql\'
 A SQL query\.
 .
 .SH "EXAMPLES"
+.
+.nf
+
+# execute a query stored in a file
 wp db query < debug\.sql
+.
+.fi
+
index 1e1e7cd..5c0a07e 100644 (file)
@@ -30,4 +30,10 @@ These are the files that are generated:
 The \fBtests/bootstrap\.php\fR file looks for the WP_TESTS_DIR environment variable\.
 .
 .SH "EXAMPLE"
+.
+.nf
+
 wp scaffold plugin\-tests hello
+.
+.fi
+
index 0066624..3bfae37 100644 (file)
@@ -12,7 +12,7 @@ wp theme delete \fItheme\fR
 .SH "OPTIONS"
 .
 .TP
-\fItheme\fR:
+\fB<theme>\fR:
 .
 .IP
 The theme to delete\.
index df8a8ef..5e74e7c 100644 (file)
@@ -12,7 +12,7 @@ wp theme install \fItheme|zip\fR [\-\-version=\fIversion\fR] [\-\-activate]
 .SH "OPTIONS"
 .
 .TP
-\fItheme\fR:
+\fB<theme>\fR:
 .
 .IP
 A theme slug or the path to a zip file\.
index 86fd820..7e877c8 100644 (file)
@@ -12,7 +12,7 @@ wp theme update \fItheme\fR [\-\-version=\fIversion\fR]
 .SH "OPTIONS"
 .
 .TP
-\fItheme\fR:
+\fB<theme>\fR:
 .
 .IP
 The theme to update\.
index 695644f..e3fd1dd 100644 (file)
@@ -45,4 +45,10 @@ Set a transient value\. <expiration> is the time until expiration, in seconds\.
 See wether the transients API is using an object cache or the options table\.
 .
 .SH "EXAMPLES"
+.
+.nf
+
 wp transient set my_key my_value 300
+.
+.fi
+