mirror of https://git.tukaani.org/xz.git
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
9271a3eb0e
commit
ad8282efe4
|
@ -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 New Issue