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:
Diffstat (limited to 'src/share/poudriere/include/display.sh')
-rw-r--r--src/share/poudriere/include/display.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/share/poudriere/include/display.sh b/src/share/poudriere/include/display.sh
index 59be1523..83c4a177 100644
--- a/src/share/poudriere/include/display.sh
+++ b/src/share/poudriere/include/display.sh
@@ -25,10 +25,9 @@
# SUCH DAMAGE.
display_setup() {
- [ $# -ge 2 ] || eargs display_setup format columns [column_sort]
+ [ $# -ge 1 ] || eargs display_setup format [column_sort]
_DISPLAY_DATA=
_DISPLAY_FORMAT="$1"
- _DISPLAY_COLUMNS="$2"
_DISPLAY_COLUMN_SORT="${3-}"
}
@@ -126,6 +125,6 @@ display_output() {
printf "${format}\n" "$@"
done
- unset _DISPLAY_DATA _DISPLAY_FORMAT _DISPLAY_COLUMNS \
+ unset _DISPLAY_DATA _DISPLAY_FORMAT \
_DISPLAY_COLUMN_SORT
}