Compare commits
No commits in common. "a459b3cdbe337831e4f00a95215594e8622cca12" and "5bbb06cdba16e0342e24c0aac0328cb43d90118e" have entirely different histories.
a459b3cdbe
...
5bbb06cdba
@ -114,7 +114,7 @@ class Icinga2ConfAction(argparse.Action):
|
||||
print(f' command = [ PluginContribDir + "/{command_path}" ]')
|
||||
print(" arguments = {")
|
||||
for action in parser._actions:
|
||||
if action.dest in [self.dest, "help", "version"]:
|
||||
if action.dest in ["verbose", "help", self.dest]:
|
||||
continue
|
||||
|
||||
arg_str = action.option_strings[-1]
|
||||
@ -166,14 +166,14 @@ def main():
|
||||
"--warning",
|
||||
metavar="RANGE",
|
||||
required=True,
|
||||
help="return warning if value is outside %(metavar)s",
|
||||
help="return warning if battery percentage is outside RANGE",
|
||||
)
|
||||
argp.add_argument(
|
||||
"-c",
|
||||
"--critical",
|
||||
metavar="RANGE",
|
||||
required=True,
|
||||
help="return critical if value is outside %(metavar)s",
|
||||
help="return critical if battery percentage is outside RANGE",
|
||||
)
|
||||
argp.add_argument(
|
||||
"--min",
|
||||
|
Loading…
x
Reference in New Issue
Block a user