Jelajahi Sumber

Updated documentation.

default 3 tahun lalu
induk
melakukan
fe9fc2d4b6
2 mengubah file dengan 10 tambahan dan 0 penghapusan
  1. 6 0
      doc/snac.1
  2. 4 0
      doc/snac.8

+ 6 - 0
doc/snac.1

@@ -204,6 +204,12 @@ Enqueues a Create + Note message to all followers. If the
 argument is -e,  the external editor defined by the EDITOR
 argument is -e,  the external editor defined by the EDITOR
 environment variable will be invoked to prepare a message; if
 environment variable will be invoked to prepare a message; if
 it's - (a lonely hyphen), the post content will be read from stdin.
 it's - (a lonely hyphen), the post content will be read from stdin.
+.It Cm block Ar basedir Ar instance_url
+Blocks a full instance, given its URL or domain name. All subsequent
+incoming activities with identifiers from that instance will be immediately
+blocked without further inspection.
+.It Cm unblock Ar basedir Ar instance_url
+Unblocks a previously blocked instance.
 .El
 .El
 .Ss Migrating an account from Mastodon
 .Ss Migrating an account from Mastodon
 See 
 See 

+ 4 - 0
doc/snac.8

@@ -281,6 +281,10 @@ format) from the Mastodon web interface and execute this:
 awk -F, 'NR > 1 { print $1 }' /path/to/following_accounts.csv | \\
 awk -F, 'NR > 1 { print $1 }' /path/to/following_accounts.csv | \\
 xargs -n 1 snac follow $SNAC_BASEDIR $SNAC_USER
 xargs -n 1 snac follow $SNAC_BASEDIR $SNAC_USER
 .Ed
 .Ed
+.Ss Instance blocking
+Full instances can be blocked. This operation must be done from
+the command-line tool. See
+.Xr snac 1 .
 .Ss Other Considerations
 .Ss Other Considerations
 .Nm
 .Nm
 stores all the messages it receives as JSON files, which are usually
 stores all the messages it receives as JSON files, which are usually