]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: (docs) add note about line separators
authorKarel Zak <kzak@redhat.com>
Thu, 12 Oct 2017 09:33:49 +0000 (11:33 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Oct 2017 09:33:49 +0000 (11:33 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table.c

index 441b5d23b7756dbdf16c0385ad98ff3dd54785a5..c1ed9e5e9a3854718296a4b3c09bc3982f9b75a6 100644 (file)
@@ -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)