summaryrefslogtreecommitdiffstats
path: root/text-utils/column.c
diff options
context:
space:
mode:
authorKarel Zak2017-03-06 13:32:52 +0100
committerKarel Zak2017-05-02 12:18:00 +0200
commitf05593e1007678d32262239ed26eef7b4906bf5c (patch)
treeb32634ee1bd92c153ff4667fc15ea0c8b0f26755 /text-utils/column.c
parentcolumn: add --table-colright (diff)
downloadkernel-qcow2-util-linux-f05593e1007678d32262239ed26eef7b4906bf5c.tar.gz
kernel-qcow2-util-linux-f05593e1007678d32262239ed26eef7b4906bf5c.tar.xz
kernel-qcow2-util-linux-f05593e1007678d32262239ed26eef7b4906bf5c.zip
column: fix greedy initialization
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/column.c')
-rw-r--r--text-utils/column.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/text-utils/column.c b/text-utils/column.c
index 9db722a14..ab700ab01 100644
--- a/text-utils/column.c
+++ b/text-utils/column.c
@@ -432,7 +432,8 @@ int main(int argc, char **argv)
{
struct column_control ctl = {
.mode = COLUMN_MODE_FILLCOLS,
- .termwidth = 80
+ .termwidth = 80,
+ .greedy = 1
};
int c;