From d7d3939e889309292a8a6457182935a1289fd0cc Mon Sep 17 00:00:00 2001 From: scribu Date: Mon, 20 May 2013 18:13:31 +0300 Subject: [PATCH] re-generate man pages --- man/cache.1 | 3 --- man/cap.1 | 17 ++++++----------- man/db.1 | 1 - man/option.1 | 1 - man/post-meta.1 | 1 - man/transient.1 | 5 +---- man/user-meta.1 | 1 - 7 files changed, 7 insertions(+), 22 deletions(-) diff --git a/man/cache.1 b/man/cache.1 index 19d4886d..82f66dc5 100644 --- a/man/cache.1 +++ b/man/cache.1 @@ -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 diff --git a/man/cap.1 b/man/cap.1 index 5e8c620f..fdee7e6b 100644 --- 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 diff --git a/man/db.1 b/man/db.1 index 98c8a6b8..5dd46899 100644 --- 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: diff --git a/man/option.1 b/man/option.1 index bfb8105b..904b88a2 100644 --- a/man/option.1 +++ b/man/option.1 @@ -45,7 +45,6 @@ Get an option\. Update an option\. . .SH "OPTIONS" - . .TP \fB\-\-format=json\fR: diff --git a/man/post-meta.1 b/man/post-meta.1 index b806b334..ac1203ef 100644 --- a/man/post-meta.1 +++ b/man/post-meta.1 @@ -45,7 +45,6 @@ Get meta field value\. Update a meta field\. . .SH "OPTIONS" - . .TP \fB\-\-format=json\fR: diff --git a/man/transient.1 b/man/transient.1 index 6c267b43..1edd72a0 100644 --- a/man/transient.1 +++ b/man/transient.1 @@ -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\. 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 diff --git a/man/user-meta.1 b/man/user-meta.1 index 883b2923..b09bb8db 100644 --- a/man/user-meta.1 +++ b/man/user-meta.1 @@ -45,7 +45,6 @@ Get meta field value\. Update a meta field\. . .SH "OPTIONS" - . .TP \fB\-\-format=json\fR: -- 2.11.0