From: Roland Häder Date: Mon, 5 Jun 2023 21:16:44 +0000 (+0200) Subject: Fixed: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ee2ac9282b659412da7f6dcfda2795c82f97f5e;p=fba.git Fixed: - --domain is required for command 'fetch_instances' --- diff --git a/fba/boot.py b/fba/boot.py index 05f9546..d400490 100644 --- a/fba/boot.py +++ b/fba/boot.py @@ -104,7 +104,7 @@ def init_parser(): "fetch_instances", help="Fetches instances (aka. \"domains\") from an initial instance.", ) - parser.add_argument("--domain", help="Instance name (aka. domain) to fetch further instances from. Start with a large instance, e.g. mastodon.social .") + parser.add_argument("--domain", required=True, help="Instance name (aka. domain) to fetch further instances from. Start with a large instance, e.g. mastodon.social .") parser.set_defaults(command=commands.fetch_instances) # DEBUG: print("DEBUG: init_parser(): EXIT!")