From 2d9c070374f42be6a6f68557d9f1f358c878fd87 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sat, 29 Jan 2022 01:00:49 -0800 Subject: [PATCH] change silent to -S to not conflict with sync option --- aniwrapper | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aniwrapper b/aniwrapper index 70bea0b..54c5823 100755 --- a/aniwrapper +++ b/aniwrapper @@ -73,11 +73,11 @@ run() { get_quality fi - if ((SILENT == 0)); then + if ((SILENT == 1)); then if ((IS_CUSTOM_THEME == 0)); then - "$CMD" -D"$DPI" -sq "$QUALITY" -t "$theme" "$@" + "$CMD" -D"$DPI" -Sq "$QUALITY" -t "$theme" "$@" else - "$CMD" -D"$DPI" -sq "$QUALITY" -T "$CFG_FILE" "$@" + "$CMD" -D"$DPI" -Sq "$QUALITY" -T "$CFG_FILE" "$@" fi elif ((VERBOSE == 1)); then if ((IS_CUSTOM_THEME == 0)); then @@ -117,7 +117,7 @@ generate_span() { } 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 h) help_text @@ -198,7 +198,7 @@ parse_args() { D) DPI="$OPTARG" ;; - s) + S) SILENT=1 ;; *)