Make help strings lowercase, for consistency
This commit is contained in:
parent
f886e9afeb
commit
4dd2a0c5b5
@ -151,7 +151,7 @@ def main():
|
|||||||
"--device-class",
|
"--device-class",
|
||||||
type=str,
|
type=str,
|
||||||
required=True,
|
required=True,
|
||||||
help="Device class of entities to monitor",
|
help="device class of entities to monitor",
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"-w",
|
"-w",
|
||||||
@ -170,15 +170,15 @@ def main():
|
|||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"--min",
|
"--min",
|
||||||
type=float,
|
type=float,
|
||||||
help="Min for performance data",
|
help="min for performance data",
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"--max",
|
"--max",
|
||||||
type=float,
|
type=float,
|
||||||
help="Max for performance data",
|
help="max for performance data",
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"-a", "--attribute", type=str, help="Check attribute instead of value"
|
"-a", "--attribute", type=str, help="check attribute instead of value"
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"-f",
|
"-f",
|
||||||
@ -186,12 +186,12 @@ def main():
|
|||||||
type=key_value,
|
type=key_value,
|
||||||
default=[],
|
default=[],
|
||||||
nargs="*",
|
nargs="*",
|
||||||
help="Filter by 'attribute=value'",
|
help="filter by 'attribute=value'",
|
||||||
)
|
)
|
||||||
argp.add_argument(
|
argp.add_argument(
|
||||||
"--friendly",
|
"--friendly",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Use friendly name, when available",
|
help="use friendly name, when available",
|
||||||
)
|
)
|
||||||
|
|
||||||
args = argp.parse_args()
|
args = argp.parse_args()
|
||||||
|
Loading…
Reference in New Issue
Block a user