diff options
author | Karel Zak | 2016-09-07 12:25:06 +0200 |
---|---|---|
committer | Karel Zak | 2016-09-07 12:25:06 +0200 |
commit | 37948503c995d2986e95819f6f5b2c3037dbc23d (patch) | |
tree | 18a516a5ff53c43d1cff6fed7bae5a97b823e2d5 /libsmartcols/src/smartcolsP.h | |
parent | libsmartcols: add fallback for symbols (diff) | |
download | kernel-qcow2-util-linux-37948503c995d2986e95819f6f5b2c3037dbc23d.tar.gz kernel-qcow2-util-linux-37948503c995d2986e95819f6f5b2c3037dbc23d.tar.xz kernel-qcow2-util-linux-37948503c995d2986e95819f6f5b2c3037dbc23d.zip |
libsmartcols: support LIBSMARTCOLS_DEBUG_PADDING=on
This env.variable forces libsmartcols to use visible padding chars.
The standard debug has to be enabled (to minimize overhead for
non-debug execution).
For example:
$ LIBSMARTCOLS_DEBUG=all LIBSMARTCOLS_DEBUG_PADDING=on findmnt 2> ~/log
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r-- | libsmartcols/src/smartcolsP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index c1bb1e07f..01b132752 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -157,6 +157,7 @@ struct libscols_table { unsigned int ascii :1, /* don't use unicode */ colors_wanted :1, /* enable colors */ is_term :1, /* isatty() */ + padding_debug :1, /* output visible padding chars */ maxout :1, /* maximize output */ header_printed :1, /* header already printed */ no_headings :1, /* don't print header */ |