From ecd70f4cf2eac004b2662574db6d20fafb5ead3d Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sun, 25 Feb 2024 21:02:59 -0700 Subject: [PATCH] fix incorrectly required arg --- Other/fail-overdue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Other/fail-overdue.py b/Other/fail-overdue.py index 32d1945..07aea9c 100755 --- a/Other/fail-overdue.py +++ b/Other/fail-overdue.py @@ -75,7 +75,7 @@ def main(args): if __name__ == "__main__": parser = argparse.ArgumentParser() - parser.add_argument('--api', required=True, default='http://localhost:5665', help='Base Icinga2 API.') + parser.add_argument('--api', default='http://localhost:5665', help='Base Icinga2 API.') parser.add_argument('--insecure', action='store_true', help='Disable SSL verification.') parser.add_argument('--username', default='icingaweb2', help='API username.') parser.add_argument('--password', required=True, help='API password.')