aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2020-10-22 21:40:12 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2020-10-22 21:40:12 +0200
commit64b14cbad6e794293c8bba0a1d4737cee36c490b (patch)
treeb12125af373d4d8573001febff7cbb9f3ec8e657
parentcf13c2e57c109c36837ba82bcb18561e4ede6b70 (diff)
downloadembedlog-64b14cbad6e794293c8bba0a1d4737cee36c490b.tar.gz
embedlog-64b14cbad6e794293c8bba0a1d4737cee36c490b.tar.bz2
embedlog-64b14cbad6e794293c8bba0a1d4737cee36c490b.zip
man/el_option.3: document new padded log numbers
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--man/el_option.316
1 files changed, 15 insertions, 1 deletions
diff --git a/man/el_option.3 b/man/el_option.3
index 0201f5b..eb189dd 100644
--- a/man/el_option.3
+++ b/man/el_option.3
@@ -520,11 +520,25 @@ and so on).
User can also pass 1 here, but if file reaches its size limit, it will be
deleted and printing will continue from the empty file
. PP
+When
+. I number
+is bigger than 10, padded zeroes will be added to rotated logs like
+. IR log.02\ ,\ log.004\ or\ log.076 .
+Actual number of padded zeroes depends in
+. I number
+passed.
+For bigger than 10 it will be 1 zero, for bigger than 100 it will be 0
+zeroes and so on.
+This is done to ease up sorting when one would want to concat all files
+with one simple
+. BR cat\ * .
+. PP
. B ERRORS
. RS
. B EINVAL
. RS
-Input parameter is less than 0
+Input parameter is less than 0 or bigger than
+. BR USHRT_MAX (65535).
. RE
. RE
.RE