aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzgrep.in
diff options
context:
space:
mode:
authorJeff Bastian <jbastian@redhat.com>2013-04-03 13:59:17 +0200
committerLasse Collin <lasse.collin@tukaani.org>2013-04-05 19:34:42 +0300
commitad8282efe483612f6b5544f9a0d2e4914fb2532a (patch)
treee59ed4b2387a3f97c665206010c08942adb43128 /src/scripts/xzgrep.in
parentliblzma: Be less picky in lzma_alone_decoder(). (diff)
downloadxz-ad8282efe483612f6b5544f9a0d2e4914fb2532a.tar.xz
xzgrep: make the '-h' option to be --no-filename equivalent
* src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
Diffstat (limited to 'src/scripts/xzgrep.in')
-rw-r--r--src/scripts/xzgrep.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in
index 515b516a..2bfce19f 100644
--- a/src/scripts/xzgrep.in
+++ b/src/scripts/xzgrep.in
@@ -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