mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-05 06:15:28 +00:00
Change the LZO testing option to be a bool on/off instead of taking a confusing parameter.
Make the lzo testing message simpler and only appear when max verbose mode is enabled.
This commit is contained in:
parent
fa34905d9d
commit
94673d3fe3
9 changed files with 37 additions and 75 deletions
2
lrztar
2
lrztar
|
|
@ -30,7 +30,7 @@ function lrztar_local() {
|
|||
trap '[[ -z $tname ]] || rm -rf "$tname" &> /dev/null' 1 2 3 15
|
||||
which tar &> /dev/null || { printf "lrztar: no tar in your path\n"; return 1; }
|
||||
which lrzip &> /dev/null || { printf "lrztar: no lrzip in your path\n"; return 1; }
|
||||
while getopts w:O:S:DqL:nlbgzUT:N:p:vfodtVhHck x; do
|
||||
while getopts w:O:S:DqL:nlbgzUTN:p:vfodtVhHck x; do
|
||||
[[ $x == [otV] ]] || ((v_$x=1)) &> /dev/null \
|
||||
|| { printf "lrztar: invalid option for lrztar %s\n" "$x"; return 1; }
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue