Add some documentation

This commit is contained in:
2023-01-12 08:40:25 +01:00
parent c1e4770b0e
commit 80d66b1919
3 changed files with 74 additions and 3 deletions

View File

@@ -59,8 +59,8 @@ def load_remote_blocklist(server: str, token: str):
def cli():
parser = argparse.ArgumentParser(description='Deploy blocklist updates to a mastodon server')
parser.add_argument('action', choices=['diff', 'deploy', 'export'],
help="Either use 'diff' to check the difference between current blocks and future blocks, "
"'deploy' to apply the current local blocklist or 'export' to export the remote "
help="Either use 'diff' to check the difference between local blockĺist and the blocklist on "
"the server, 'deploy' to apply the current local blocklist or 'export' to export the remote "
"blocklist into a local file.")
parser.add_argument('-s', '--server', help="The address of the server where you want to deploy (e.g. "
"mastodon.social)")