From c7588f91dd2d8d3ac0562408a2885ceee5486a80 Mon Sep 17 00:00:00 2001
From: Alasdair Kergon <agk@redhat.com>
Date: Tue, 13 Feb 2007 16:04:01 +0000
Subject: [PATCH] Correct -b and -P on a couple of man pages. Add global/units
 to example.conf.

---
 WHATS_NEW        | 2 ++
 doc/example.conf | 3 +++
 man/lvchange.8   | 2 +-
 man/pvmove.8     | 4 ++--
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/WHATS_NEW b/WHATS_NEW
index 8c9566c84..40bf90bec 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,7 @@
 Version 2.02.22 - 
 ===================================
+  Correct -b and -P on a couple of man pages.
+  Add global/units to example.conf.
   Fix loading of segment_libraries.
   If a PV reappears after it was removed from its VG, make it an orphan.
   Don't update metadata automatically if VGIDs don't match.
diff --git a/doc/example.conf b/doc/example.conf
index e8ded3925..7cf406fd4 100644
--- a/doc/example.conf
+++ b/doc/example.conf
@@ -188,6 +188,9 @@ global {
     # command.  Defaults to off.
     test = 0
 
+    # Default value for --units argument
+    units = "h"
+
     # Whether or not to communicate with the kernel device-mapper.
     # Set to 0 if you want to use the tools to manipulate LVM metadata 
     # without activating any logical volumes.
diff --git a/man/lvchange.8 b/man/lvchange.8
index 69345f2d4..4f65f9a42 100644
--- a/man/lvchange.8
+++ b/man/lvchange.8
@@ -12,7 +12,7 @@ lvchange \- change attributes of a logical volume
 [\-\-ignorelockingfailure]
 [\-\-monitor {y|n}]
 [\-M/\-\-persistent y/n] [\-\-minor minor]
-[\-P/\-\-partial y/n]
+[\-P/\-\-partial]
 [\-p/\-\-permission r/w] [\-r/\-\-readahead ReadAheadSectors]
 [\-\-refresh]
 [\-t/\-\-test]
diff --git a/man/pvmove.8 b/man/pvmove.8
index 6bf385b2a..289d3c5f8 100644
--- a/man/pvmove.8
+++ b/man/pvmove.8
@@ -5,7 +5,7 @@ pvmove \- move physical extents
 .B pvmove
 [\-\-abort]
 [\-\-alloc AllocationPolicy]
-[\-\-background]
+[\-b/\-\-background]
 [\-d/\-\-debug] [\-h/\-\-help] [\-i/\-\-interval Seconds] [\-v/\-\-verbose]
 [\-n/\-\-name LogicalVolume] 
 [SourcePhysicalVolume[:PE[-PE]...] [DestinationPhysicalVolume[:PE[-PE]...]...]]
@@ -73,7 +73,7 @@ type of on-disk metadata.  Metadata can be converted using \fBvgconvert\fP(8).
 .I \-\-abort
 Abort any moves in progress.
 .TP
-.I \-\-background
+.I \-b, \-\-background
 Run the daemon in the background.
 .TP
 .I \-i, \-\-interval Seconds