mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
change silent to -S to not conflict with sync option
This commit is contained in:
parent
e25831fa44
commit
2d9c070374
10
aniwrapper
10
aniwrapper
@ -73,11 +73,11 @@ run() {
|
|||||||
get_quality
|
get_quality
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ((SILENT == 0)); then
|
if ((SILENT == 1)); then
|
||||||
if ((IS_CUSTOM_THEME == 0)); then
|
if ((IS_CUSTOM_THEME == 0)); then
|
||||||
"$CMD" -D"$DPI" -sq "$QUALITY" -t "$theme" "$@"
|
"$CMD" -D"$DPI" -Sq "$QUALITY" -t "$theme" "$@"
|
||||||
else
|
else
|
||||||
"$CMD" -D"$DPI" -sq "$QUALITY" -T "$CFG_FILE" "$@"
|
"$CMD" -D"$DPI" -Sq "$QUALITY" -T "$CFG_FILE" "$@"
|
||||||
fi
|
fi
|
||||||
elif ((VERBOSE == 1)); then
|
elif ((VERBOSE == 1)); then
|
||||||
if ((IS_CUSTOM_THEME == 0)); then
|
if ((IS_CUSTOM_THEME == 0)); then
|
||||||
@ -117,7 +117,7 @@ generate_span() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
parse_args() {
|
parse_args() {
|
||||||
while getopts 'vhqcdf:-:t:T:CQ:D:s' OPT; do
|
while getopts 'vhqcdf:-:t:T:CQ:D:S' OPT; do
|
||||||
case "$OPT" in
|
case "$OPT" in
|
||||||
h)
|
h)
|
||||||
help_text
|
help_text
|
||||||
@ -198,7 +198,7 @@ parse_args() {
|
|||||||
D)
|
D)
|
||||||
DPI="$OPTARG"
|
DPI="$OPTARG"
|
||||||
;;
|
;;
|
||||||
s)
|
S)
|
||||||
SILENT=1
|
SILENT=1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
Reference in New Issue
Block a user