]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
xzgrep: make the '-h' option to be --no-filename equivalent
authorJeff Bastian <jbastian@redhat.com>
Wed, 3 Apr 2013 11:59:17 +0000 (13:59 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 5 Apr 2013 16:34:42 +0000 (19:34 +0300)
* src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.

src/scripts/xzgrep.in

index 515b516a1e9b9066f4928cd343aa42c2c083cb01..2bfce19ffb1326ca5c356644b2f21cf2246bb9f2 100644 (file)
@@ -109,7 +109,7 @@ while test $# -ne 0; do
     files_with_matches=1;;
   (-L | --files-witho*)
     files_without_matches=1;;
-  (--no-f*)
+  (-h | --no-f*)
     no_filename=1;;
   (-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
     echo "$version" || exit 2