aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzmore.in
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-11 12:23:58 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-11 13:50:56 +0200
commitfc1358679ed3994f67e5e8c869c281be82370a32 (patch)
tree133bd7d8a3d22b1fefa8dfeea85d555bff3557c9 /src/scripts/xzmore.in
parentxz: Add comments about stdin and src_st.st_size. (diff)
downloadxz-fc1358679ed3994f67e5e8c869c281be82370a32.tar.xz
Scripts: Ignore warnings from xz.
In practice this means making the scripts work when the input files have an unsupported check type which isn't a problem in practice unless support for some check types has been disabled at build time.
Diffstat (limited to 'src/scripts/xzmore.in')
-rw-r--r--src/scripts/xzmore.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/xzmore.in b/src/scripts/xzmore.in
index 6ba1344d..5188fdab 100644
--- a/src/scripts/xzmore.in
+++ b/src/scripts/xzmore.in
@@ -52,7 +52,7 @@ if test $# = 0; then
if test -t 0; then
printf '%s\n' "$usage"; exit 1
else
- $xz -cdfq | eval "${PAGER:-more}"
+ $xz -cdfqQ | eval "${PAGER:-more}"
fi
else
FIRST=1
@@ -70,7 +70,7 @@ else
fi
if test "$ANS" != 's'; then
printf '%s\n' "------> $FILE <------"
- $xz -cdfq -- "$FILE" | eval "${PAGER:-more}"
+ $xz -cdfqQ -- "$FILE" | eval "${PAGER:-more}"
fi
if test -t 1; then
FIRST=0