Require warning/critical args

This commit is contained in:
Adam Goldsmith 2022-11-26 19:34:06 -05:00
parent f037ed5c24
commit 174ada7375

View File

@ -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(