gzip/fix-verbose-disable.patch

29 lines
771 B
Diff
Raw Normal View History

2019-09-30 10:52:35 -04:00
From c220e0ceae7f8192ab94b4c9eb89e5384277e175 Mon Sep 17 00:00:00 2001
From: pengyeqing <pengyeqing@huawei.com>
Date: Sat, 26 Jan 2019 03:24:48 +0800
Subject: [PATCH] gzip: fix verbose disable
reason:fix verbose disable
Signed-off-by: pengyeqing <pengyeqing@huawei.com>
---
zdiff.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zdiff.in b/zdiff.in
2021-12-28 11:50:48 +08:00
index a1325f2..2b7ec23 100644
2019-09-30 10:52:35 -04:00
--- a/zdiff.in
+++ b/zdiff.in
@@ -51,7 +51,7 @@ escape='
while :; do
case $1 in
--h*) printf '%s\n' "$usage" || exit 2; exit;;
- --v*) printf '%s\n' "$version" || exit 2; exit;;
+ --version) printf '%s\n' "$version" || exit 2; exit;;
--) shift; break;;
-*\'*) cmp="$cmp '"`printf '%sX\n' "$1" | sed "$escape"`;;
-?*) cmp="$cmp '$1'";;
2021-12-28 11:50:48 +08:00
--
2.27.0
2019-09-30 10:52:35 -04:00