Add link to Home Assistant REST API docs in token help text

This commit is contained in:
Adam Goldsmith 2022-11-29 17:56:13 -05:00
parent 4dd2a0c5b5
commit 035d20cfc3

View File

@ -138,7 +138,11 @@ class Icinga2ConfAction(argparse.Action):
def main():
argp = argparse.ArgumentParser(description=__doc__)
argp.add_argument(
"-t", "--token", required=True, type=str, help="API token for Home Assistant"
"-t",
"--token",
required=True,
type=str,
help="token for Home Assistant REST API (see https://developers.home-assistant.io/docs/api/rest/)",
)
argp.add_argument(
"-u", "--url", required=True, type=str, help="URL for Home Assistant"