]> git.mxchange.org Git - fba.git/blobdiff - fba/boot.py
Continued:
[fba.git] / fba / boot.py
index 93d45462014eca19219bf437846a365ab09f123a..d87ef4d0075dfc03910a693f66ff86994c3ca739 100644 (file)
@@ -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(