File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ expire_date=
8686archive_prefix=
8787quiet=()
8888
89+ # @formatter:off
90+ # TEMP: remove when https://github.com/lovesegfault/beautysh/issues/265 is fixed
8991while : ; do
9092 case " ${1:- } " in
9193 -s | --source)
@@ -170,6 +172,7 @@ while :; do
170172 esac
171173 shift
172174done
175+ # @formatter:on
173176
174177check-root
175178
Original file line number Diff line number Diff line change @@ -362,6 +362,8 @@ report_file_prefix=
362362sys_check=
363363benchmark_depth=
364364params_file=
365+ # @formatter:off
366+ # TEMP: remove when https://github.com/lovesegfault/beautysh/issues/265 is fixed
365367while : ; do
366368 case " ${1:- } " in
367369 -r | --report) create_report=1 ;;
@@ -399,6 +401,7 @@ while :; do
399401 esac
400402 shift
401403done
404+ # @formatter:on
402405
403406if [[ -z " ${sys_check} " && -z " ${benchmark_depth} " ]]; then
404407 echo " Benchmark depth missing (quick or full)" >&2
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ journal_retention=2w
6464quiet=()
6565redirection=/dev/stdout
6666
67+ # @formatter:off
68+ # TEMP: remove when https://github.com/lovesegfault/beautysh/issues/265 is fixed
6769while : ; do
6870 case " ${1:- } " in
6971 -j | --journal)
@@ -92,6 +94,7 @@ while :; do
9294 esac
9395 shift
9496done
97+ # @formatter:on
9598
9699uid=$( id -u)
97100if [[ " ${uid} " -ne 0 ]]; then
Original file line number Diff line number Diff line change @@ -97,6 +97,8 @@ action="${1:-}"
9797[[ -n " ${action} " ]] && shift
9898
9999# Switch action
100+ # @formatter:off
101+ # TEMP: remove when https://github.com/lovesegfault/beautysh/issues/265 is fixed
100102case " ${action} " in
101103 open) _vault-open " ${@ } " ;;
102104 close) _vault-close " ${@ } " ;;
@@ -114,5 +116,6 @@ case "${action}" in
114116 " " ) print-error Action missing && _usage ;;
115117 * ) print-error Invalid action && _usage ;;
116118esac
119+ # @formatter:on
117120
118121exit 0
You can’t perform that action at this time.
0 commit comments