From 325a679ea436d6c50fd205c9d1ca8caa1b7e7c43 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 2 Nov 2020 05:48:59 -0500 Subject: [PATCH] List CLI options explicitly --- home/lib/login_functions.sh | 3 +++ 1 file changed, 3 insertions(+) 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 } { -- 2.20.1