]> granicus.if.org Git - xz/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:14:50 +0000 (19:14 +0300)
* src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.

src/scripts/xzgrep.in

index d8e9bb58cdc667398fb2a27f16fc672e2e0e8be6..951266b01d95bf02156ca9db6fbc890ad1b3bc7b 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