diff options
Diffstat (limited to 'src/share/poudriere/include/display.sh')
-rw-r--r-- | src/share/poudriere/include/display.sh | 5 |
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 } |