diff --git a/chkip.py b/chkip.py index 58e78e3..0d79a73 100644 --- a/chkip.py +++ b/chkip.py @@ -216,6 +216,10 @@ def main(): parser.add_argument("--me", action="store_true", help="Zeigt lokale & öffentliche IPs und prüft auf CGNAT") args = parser.parse_args() + if not args.me and not args.domain: + print(parser.format_usage().strip()) + return + if args.me: local_v4, public_v4, public_v6 = get_my_ip() result = {