[units] mention the --check-verbose option in units.1 man page

Kamil Dudka kdudka at fedoraproject.org
Mon May 20 13:32:29 UTC 2013


commit eb478e322843c7b38111a17ceee6fd45372c4432
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Mon May 20 15:26:24 2013 +0200

    mention the --check-verbose option in units.1 man page

 ...nits.man-mention-the-verbose-check-option.patch |   26 ++++++++++++++++++++
 units.spec                                         |    5 ++++
 2 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/0001-units.man-mention-the-verbose-check-option.patch b/0001-units.man-mention-the-verbose-check-option.patch
new file mode 100644
index 0000000..1453637
--- /dev/null
+++ b/0001-units.man-mention-the-verbose-check-option.patch
@@ -0,0 +1,26 @@
+From f43447efb1b382f90506dfbe745de00e32f1d615 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka at redhat.com>
+Date: Mon, 20 May 2013 15:17:32 +0200
+Subject: [PATCH] units.man: mention the --verbose-check option
+
+... as an alias to --check-verbose since units --help mentions it
+---
+ units.man |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/units.man b/units.man
+index d1762b5..483e1e4 100644
+--- a/units.man
++++ b/units.man
+@@ -1627,7 +1627,7 @@ in the current locale are checked.  You should always run
+ with this option after modifying a units data file.
+ .PP
+ .TP
+-.BR "-\^-\^check-verbose"
++.BR "-\^-\^check-verbose" ", " "-\^-\^verbose-check"
+ Like the
+ .CQ "--check"
+ option, this option prints a list of units that
+-- 
+1.7.1
+
diff --git a/units.spec b/units.spec
index abdb83c..98e87cd 100644
--- a/units.spec
+++ b/units.spec
@@ -12,6 +12,9 @@ BuildRequires: bison
 BuildRequires: ncurses-devel
 BuildRequires: readline-devel
 
+# mention the --check-verbose option in units.1 man page
+Patch1: 0001-units.man-mention-the-verbose-check-option.patch
+
 %description
 Units converts an amount from one unit to another, or tells you what
 mathematical operation you need to perform to convert from one unit to
@@ -20,6 +23,7 @@ well as conversions such as Fahrenheit to Celsius.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure
@@ -56,6 +60,7 @@ fi
 %changelog
 * Mon May 20 2013 Kamil Dudka <kdudka at redhat.com> - 2.01-3
 - provide a man page for units_cur as a symlink to units.1
+- mention the --check-verbose option in units.1 man page
 
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.01-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild


More information about the scm-commits mailing list