home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c2317
)
List CLI options explicitly
author
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 2 Nov 2020 10:48:59 +0000
(
05:48
-0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 2 Nov 2020 10:48:59 +0000
(
05:48
-0500)
home/lib/login_functions.sh
patch
|
blob
|
blame
|
history
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
6646365
..
293e7b4
100644
(file)
--- 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
}
{
This page took
0.029854 seconds
and
4
git commands to generate.