X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=fba%2Fboot.py;h=d87ef4d0075dfc03910a693f66ff86994c3ca739;hb=174b9517767d2eec39b50feb7cca2371816fb2f4;hp=93d45462014eca19219bf437846a365ab09f123a;hpb=3ad5eb0b8994ddecadc7b7c05b2241c5d4cb0ae7;p=fba.git diff --git a/fba/boot.py b/fba/boot.py index 93d4546..d87ef4d 100644 --- a/fba/boot.py +++ b/fba/boot.py @@ -144,8 +144,10 @@ def init_parser(): help="Fetches instances (aka. \"domains\") from an initial instance. You may want to re-run this command several times (at least 3 with big instances) to have a decent amount of valid instances.", ) parser.set_defaults(command=commands.fetch_instances) - 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.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("--force", action="store_true", help="Include also already existing instances, otherwise only new are checked") parser.add_argument("--single", action="store_true", help="Only fetch given instance.") + parser.add_argument("--software", help="Name of software, e.g. 'lemmy'") ### Fetch blocks from static text file(s) ### parser = subparser_command.add_parser( @@ -153,6 +155,7 @@ def init_parser(): help="Fetches text/plain files as simple domain lists", ) parser.set_defaults(command=commands.fetch_txt) + parser.add_argument("--force", action="store_true", help="Forces update of data, no matter what.") ### Fetch blocks from joinfediverse.wiki ### #parser = subparser_command.add_parser( @@ -226,6 +229,8 @@ def init_parser(): parser.add_argument("--no-software", action="store_true", help="Checks only entries with no software type detected.") parser.add_argument("--no-auto", action="store_true", help="Checks only entries with other than AUTO_DISCOVERY as detection mode.") parser.add_argument("--no-detection", action="store_true", help="Checks only entries with no detection mode set.") + parser.add_argument("--with-software", action="store_true", help="Checks only entries with any software type detected.") + parser.add_argument("--same", action="store_true", help="Checks only entries with domain and software being the same.") ### Fetch instances from instances.social ### parser = subparser_command.add_parser(