Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2022-09-13 20:07:45 +0300
committerBryan Drewery <bryan@shatow.net>2022-11-05 18:47:57 +0300
commita92359cbf9e4a669130aa5bf684981814790450e (patch)
treeb0cb61e5f3aa993b8802c9693389f48099723f90
parent5db589c7476248b4e1ce5a3e595d2dea4a23055a (diff)
display_setup can take 1 or 2 params
-rw-r--r--src/share/poudriere/include/display.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/include/display.sh b/src/share/poudriere/include/display.sh
index d313dab0..37161989 100644
--- a/src/share/poudriere/include/display.sh
+++ b/src/share/poudriere/include/display.sh
@@ -25,7 +25,7 @@
# SUCH DAMAGE.
display_setup() {
- [ $# -ge 1 ] || eargs display_setup format [column_sort]
+ [ $# -eq 1 ] || [ $# -eq 2 ] || eargs display_setup format [column_sort]
_DISPLAY_DATA=
_DISPLAY_FORMAT="$1"
_DISPLAY_COLUMN_SORT="${2-}"