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