aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-20 10:47:23 +0100
committerdefault <nobody@localhost>2025-01-20 10:47:23 +0100
commitfbc5015dc4f7b8fbc5901022b3252b5edbcf6ebf (patch)
tree929017c3f11bc5a4c83c5370464909386d789a77
parent5b21c9546b40cc0c52d5f39273747c551926984c (diff)
Documented the SNAC_BASEDIR environment variable.
-rw-r--r--doc/snac.17
1 files changed, 7 insertions, 0 deletions
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