aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2017-01-19 19:43:05 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-02-20 17:01:32 +0000
commita2dc73460f37ec832da9867a3e5d8f97d4ec61f8 (patch)
tree3b207b855dc7aefc685ada4b72da0b148c5dc5a3
parent38b312aef57217afa22ee466c0401dea0d9c1576 (diff)
downloadsos-a2dc73460f37ec832da9867a3e5d8f97d4ec61f8.tar.gz
[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 <pmoravec@redhat.com>
-rw-r--r--man/en/sosreport.12
-rw-r--r--sos/sosreport.py2
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")