[mailx] Added missing -v option to the usage message
pschiffe
pschiffe at fedoraproject.org
Mon Jul 22 14:16:41 UTC 2013
commit 7c0de420d63f3807aaa7c90cc2500b4e1d60adc1
Author: Peter Schiffer <pschiffe at redhat.com>
Date: Mon Jul 22 16:15:52 2013 +0200
Added missing -v option to the usage message
mailx-12.5-usage.patch | 12 ++++++++++++
mailx.spec | 4 ++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/mailx-12.5-usage.patch b/mailx-12.5-usage.patch
new file mode 100644
index 0000000..3c375ad
--- /dev/null
+++ b/mailx-12.5-usage.patch
@@ -0,0 +1,12 @@
+diff -upr mailx-12.5.orig/main.c mailx-12.5/main.c
+--- mailx-12.5.orig/main.c 2007-10-02 14:15:50.000000000 +0200
++++ mailx-12.5/main.c 2013-07-22 16:06:56.960765683 +0200
+@@ -353,7 +353,7 @@ main(int argc, char *argv[])
+ case '?':
+ usage:
+ fprintf(stderr, catgets(catd, CATSET, 135,
+-"Usage: %s -eiIUdEFntBDNHRV~ -T FILE -u USER -h hops -r address -s SUBJECT -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users\n"), progname);
++"Usage: %s -eiIUdEFntBDNHRVv~ -T FILE -u USER -h hops -r address -s SUBJECT -a FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users\n"), progname);
+ exit(2);
+ }
+ }
diff --git a/mailx.spec b/mailx.spec
index 0f89191..1dac1f3 100644
--- a/mailx.spec
+++ b/mailx.spec
@@ -21,6 +21,8 @@ Patch2: mailx-12.5-lzw.patch
Patch3: mailx-12.5-fname-null.patch
# resolves: #857120
Patch4: mailx-12.5-collect.patch
+# resolves: #948869
+Patch5: mailx-12.5-usage.patch
%if %{use_nss}
BuildRequires: nss-devel, pkgconfig, krb5-devel
@@ -58,6 +60,7 @@ as well as "nail" (the initial name of this project).
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
sed -i 's,/etc/nail.rc,%{mailrc},g' mailx.1
@@ -137,6 +140,7 @@ popd
- related: #912785
used -D_FILE_OFFSET_BITS=64 flag at the compile time
- return error code when TMPDIR is set to an invalid path while sending email
+- added missing -v option to the usage message
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 12.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list