]> git.mxchange.org Git - fba.git/blobdiff - fba/boot.py
Continued:
[fba.git] / fba / boot.py
index 55e9fb4d786052cd5e0a966c5010085388c3c3f7..6c14c2a7e7e8d3ff0f568674c004603d96f6511a 100644 (file)
@@ -231,6 +231,13 @@ def init_parser():
     parser.add_argument("--domain", help="Instance name (aka. 'relay')")
     parser.add_argument("--force", action="store_true", help="Forces update of data, no matter what.")
 
+    ### Remove invalid domains ###
+    parser = subparser_command.add_parser(
+        "remove_invalid",
+        help="Removes invalid domains.",
+    )
+    parser.set_defaults(command=commands.remove_invalid)
+
     logger.debug("EXIT!")
 
 def run_command():