From: Karel Zak Date: Thu, 12 Oct 2017 09:33:49 +0000 (+0200) Subject: libsmartcols: (docs) add note about line separators X-Git-Tag: v2.31~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e46776263b49bce3a5565f5e0c5f417e0245d14;p=thirdparty%2Futil-linux.git libsmartcols: (docs) add note about line separators Signed-off-by: Karel Zak --- diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c index 441b5d23b7..c1ed9e5e9a 100644 --- a/libsmartcols/src/table.c +++ b/libsmartcols/src/table.c @@ -874,6 +874,10 @@ struct libscols_symbols *scols_table_get_symbols(const struct libscols_table *tb * re-printing the same line more than once (e.g. progress bar). Don't use it * if you're not sure. * + * Note that for the last line in the table the separator is disabled at all. + * The library differentiate between table terminator and line terminator + * (although for standard output \n byte is used in both cases). + * * Returns: 0 on success, negative number in case of an error. */ int scols_table_enable_nolinesep(struct libscols_table *tb, int enable)