Require warning/critical args
This commit is contained in:
parent
f037ed5c24
commit
174ada7375
@ -60,14 +60,14 @@ def main():
|
|||||||
"-w",
|
"-w",
|
||||||
"--warning",
|
"--warning",
|
||||||
metavar="RANGE",
|
metavar="RANGE",
|
||||||
default="",
|
required=True,
|
||||||
help="return warning if battery percentage is outside RANGE",
|
help="return warning if battery percentage is outside RANGE",
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"-c",
|
"-c",
|
||||||
"--critical",
|
"--critical",
|
||||||
metavar="RANGE",
|
metavar="RANGE",
|
||||||
default="",
|
required=True,
|
||||||
help="return critical if battery percentage is outside RANGE",
|
help="return critical if battery percentage is outside RANGE",
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
|
Loading…
Reference in New Issue
Block a user