OSDN Git Service

re-generate man pages
authorscribu <mail@scribu.net>
Mon, 20 May 2013 15:13:31 +0000 (18:13 +0300)
committerscribu <mail@scribu.net>
Mon, 20 May 2013 15:13:31 +0000 (18:13 +0300)
man/cache.1
man/cap.1
man/db.1
man/option.1
man/post-meta.1
man/transient.1
man/user-meta.1

index 19d4886..82f66dc 100644 (file)
@@ -90,9 +90,6 @@ Set a value to the object cache\.
 Attempts to determine which object cache is being used\.
 .
 .SH "EXAMPLES"
-
-.
-.P
 wp cache set my_key my_value my_group 300
 .
 .P
index 5e8c620..fdee7e6 100644 (file)
--- a/man/cap.1
+++ b/man/cap.1
@@ -37,21 +37,16 @@ Remove capabilities from a given role\.
 .
 .SH "EXAMPLES"
 .
-.IP
+.nf
+
 # Add \'spectate\' capability to \'author\' role
-.
-.br
 wp cap add \'author\' \'spectate\'
-.
-.IP
+
 # Add all caps from \'editor\' role to \'author\' role
-.
-.br
 wp cap list \'editor\' | xargs wp cap add \'author\'
-.
-.IP
+
 # Remove all caps from \'editor\' role that also appear in \'author\' role
-.
-.br
 wp cap list \'author\' | xargs wp cap remove \'editor\'
+.
+.fi
 
index 98c8a6b..5dd4689 100644 (file)
--- a/man/db.1
+++ b/man/db.1
@@ -90,7 +90,6 @@ Repair the database\.
 Remove all tables from the database\.
 .
 .SH "OPTIONS"
-
 .
 .TP
 \fB\-\-yes\fR:
index bfb8105..904b88a 100644 (file)
@@ -45,7 +45,6 @@ Get an option\.
 Update an option\.
 .
 .SH "OPTIONS"
-
 .
 .TP
 \fB\-\-format=json\fR:
index b806b33..ac1203e 100644 (file)
@@ -45,7 +45,6 @@ Get meta field value\.
 Update a meta field\.
 .
 .SH "OPTIONS"
-
 .
 .TP
 \fB\-\-format=json\fR:
index 6c267b4..1edd72a 100644 (file)
@@ -36,7 +36,7 @@ Get a transient value\.
 \fBset\fR:
 .
 .IP
-Set a transient value\. \fIexpiration\fR is the time until expiration, in seconds\.
+Set a transient value\. <expiration> is the time until expiration, in seconds\.
 .
 .TP
 \fBtype\fR:
@@ -45,7 +45,4 @@ Set a transient value\. \fIexpiration\fR is the time until expiration, in second
 See wether the transients API is using an object cache or the options table\.
 .
 .SH "EXAMPLES"
-
-.
-.P
 wp transient set my_key my_value 300
index 883b292..b09bb8d 100644 (file)
@@ -45,7 +45,6 @@ Get meta field value\.
 Update a meta field\.
 .
 .SH "OPTIONS"
-
 .
 .TP
 \fB\-\-format=json\fR: