From: Siraaj Khandkar Date: Mon, 2 Nov 2020 10:48:59 +0000 (-0500) Subject: List CLI options explicitly X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=325a679ea436d6c50fd205c9d1ca8caa1b7e7c43;p=khome.git List CLI options explicitly --- diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 6646365..293e7b4 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -375,10 +375,13 @@ run() { bar_gauge() { awk "$@" ' BEGIN { + # CLI options ch_left = ch_left ? ch_left : "[" ch_right = ch_right ? ch_right : "]" ch_blank = ch_blank ? ch_blank : "-" ch_used = ch_used ? ch_used : "|" + num = num ? 1 : 0 + pct = pct ? 1 : 0 } {