From b2bd4e18b9d7691cfae7be3e5e08a0c00ff4ac0e Mon Sep 17 00:00:00 2001 From: default Date: Tue, 7 Jan 2025 03:28:53 +0100 Subject: Updated documentation. --- doc/snac.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/snac.1') diff --git a/doc/snac.1 b/doc/snac.1 index 71dcf4a..7611600 100644 --- a/doc/snac.1 +++ b/doc/snac.1 @@ -256,7 +256,7 @@ it's - (a lonely hyphen), the post content will be read from stdin. The rest of command line arguments are treated as media files to be attached to the post. .It Cm note_unlisted Ar basedir Ar uid Ar text Op file file ... -Like the previous one, but creates an "unlisted" (or "quiet public") one. +Like the previous one, but creates an "unlisted" (or "quiet public") post. .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 -- cgit v1.2.3 From fbc5015dc4f7b8fbc5901022b3252b5edbcf6ebf Mon Sep 17 00:00:00 2001 From: default Date: Mon, 20 Jan 2025 10:47:23 +0100 Subject: Documented the SNAC_BASEDIR environment variable. --- doc/snac.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/snac.1') diff --git a/doc/snac.1 b/doc/snac.1 index 7611600..d33bccb 100644 --- a/doc/snac.1 +++ b/doc/snac.1 @@ -377,6 +377,13 @@ https://$SNAC_HOST/oauth/x-snac-get-token .Pp .Sh ENVIRONMENT .Bl -tag -width Ds +.It SNAC_BASEDIR +This optional environment variable can be set to the base directory of +your installation; if set, you don't have to add the base directory as an +argument to command-line operations. This may prove useful if you only +have one +.Nm +instance in you system (which is probably your case). .It Ev DEBUG Overrides the debugging level from the server 'dbglevel' configuration variable. Set it to an integer value. The higher, the deeper in meaningless -- cgit v1.2.3