Skip to content

Commit 44ff7ea

Browse files
committed
Deal with Ubuntu's column not supporting --help
As seen in #273
1 parent c98e2c6 commit 44ff7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lambda-functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ lambda-function-memory(){
4747
[[ -z "$function_names" ]] && __bma_usage "function [function]" && return 1
4848

4949
local column_command
50-
if column --help | grep -- --table-right > /dev/null; then
50+
if column --help 2>/dev/null | grep -- --table-right > /dev/null; then
5151
column_command='column --table --table-right 2'
5252
else
5353
column_command='column -t'

0 commit comments

Comments
 (0)