From a2dc73460f37ec832da9867a3e5d8f97d4ec61f8 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Thu, 19 Jan 2017 19:43:05 +0100 Subject: [sosreport] clarify in man and help that --logsize is in MiB Neither sosreport --help or man pages specify the units of --logsize parameter. Let it clarify. Resolves: #916 Signed-off-by: Pavel Moravec --- man/en/sosreport.1 | 2 +- sos/sosreport.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/en/sosreport.1 b/man/en/sosreport.1 index eac90470..615efba3 100644 --- a/man/en/sosreport.1 +++ b/man/en/sosreport.1 @@ -107,7 +107,7 @@ testing or other plugin defined behaviour. Use of \--verify may cause the time taken to generate a report to be considerably longer. .TP .B \--log-size -Places a global limit on the size of any collected set of logs. The +Places a global limit on the size (in MiB) of any collected set of logs. The limit is applied separately for each set of logs collected by any plugin. .TP diff --git a/sos/sosreport.py b/sos/sosreport.py index 4f83a1ec..71d24756 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -600,7 +600,7 @@ class SoSOptions(object): default=deque()) parser.add_option("--log-size", action="store", dest="log_size", default=10, type="int", - help="set a limit on the size of collected logs") + help="set a limit on the size of collected logs (in MiB)") parser.add_option("-a", "--alloptions", action="store_true", dest="usealloptions", default=False, help="enable all options for loaded plugins") -- cgit