Add link to Home Assistant REST API docs in token help text
This commit is contained in:
parent
4dd2a0c5b5
commit
035d20cfc3
@ -138,7 +138,11 @@ class Icinga2ConfAction(argparse.Action):
|
|||||||
def main():
|
def main():
|
||||||
argp = argparse.ArgumentParser(description=__doc__)
|
argp = argparse.ArgumentParser(description=__doc__)
|
||||||
argp.add_argument(
|
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(
|
argp.add_argument(
|
||||||
"-u", "--url", required=True, type=str, help="URL for Home Assistant"
|
"-u", "--url", required=True, type=str, help="URL for Home Assistant"
|
||||||
|
Loading…
Reference in New Issue
Block a user