aboutsummaryrefslogtreecommitdiff
path: root/src
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:14:50 +0300
commit5019413a055ce29e660dbbf15e02443cb5a26c59 (patch)
tree1de5dcf2fd43ae35d8208a0cd686145b104d2597 /src
parentliblzma: Be less picky in lzma_alone_decoder(). (diff)
downloadxz-5019413a055ce29e660dbbf15e02443cb5a26c59.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')
-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 d8e9bb58..951266b0 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