mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
xzgrep: make the '-h' option to be --no-filename equivalent
* src/scripts/xzgrep.in: Accept the '-h' option in argument parsing.
This commit is contained in:
parent
5ea900cb5a
commit
5019413a05
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ while test $# -ne 0; do
|
||||||
files_with_matches=1;;
|
files_with_matches=1;;
|
||||||
(-L | --files-witho*)
|
(-L | --files-witho*)
|
||||||
files_without_matches=1;;
|
files_without_matches=1;;
|
||||||
(--no-f*)
|
(-h | --no-f*)
|
||||||
no_filename=1;;
|
no_filename=1;;
|
||||||
(-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
|
(-V | --v | --ve | --ver | --vers | --versi | --versio | --version)
|
||||||
echo "$version" || exit 2
|
echo "$version" || exit 2
|
||||||
|
|
Loading…
Reference in a new issue