[help] Update and beautify the commandline help output

This commit is contained in:
Tobias Witek 2016-11-05 16:18:53 +01:00
parent 3af8ee771d
commit caceb6f20f
11 changed files with 59 additions and 88 deletions

View file

@ -2,15 +2,15 @@ import os
import bumblebee.util
import bumblebee.module
def usage():
return "disk or disk::<path, defaults to '/'>"
def notes():
return "Warning is at 20% free diskspace, Critical at 10%."
def description():
return "Shows free diskspace, total diskspace and the percentage of free disk space."
def parameters():
return [
"disk.warning: Warning threshold in % (defaults to 80%)",
"disk.critical: Critical threshold in % (defaults to 90%)"
]
class Module(bumblebee.module.Module):
def __init__(self, output, config, alias):
super(Module, self).__init__(output, config, alias)