Blame SOURCES/xz-5.1.2alpha-xzgrep-and-h-option.patch

44c1f8
commit 5019413a055ce29e660dbbf15e02443cb5a26c59
44c1f8
Author:     Jeff Bastian <jbastian@redhat.com>
44c1f8
AuthorDate: Wed Apr 3 13:59:17 2013 +0200
44c1f8
Commit:     Lasse Collin <lasse.collin@tukaani.org>
44c1f8
CommitDate: Fri Apr 5 19:14:50 2013 +0300
44c1f8
44c1f8
    xzgrep: make the '-h' option to be --no-filename equivalent
44c1f8
    
44c1f8
    * src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
44c1f8
44c1f8
diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in
44c1f8
index d8e9bb5..951266b 100644
44c1f8
--- a/src/scripts/xzgrep.in
44c1f8
+++ b/src/scripts/xzgrep.in
44c1f8
@@ -109,7 +109,7 @@ while test $# -ne 0; do
44c1f8
     files_with_matches=1;;
44c1f8
   (-L | --files-witho*)
44c1f8
     files_without_matches=1;;
44c1f8
-  (--no-f*)
44c1f8
+  (-h | --no-f*)
44c1f8
     no_filename=1;;
44c1f8
   (-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
44c1f8
     echo "$version" || exit 2