From 936ff8da2fb3597d03ef018ec2aba0391e18d569 Mon Sep 17 00:00:00 2001
From: Jelle van der Waa <jelle@vdwaa.nl>
Date: Tue, 12 Mar 2019 22:18:07 +0100
Subject: doc: add Environment variables section to sogrep

Add a section about environment variables which influence sogrep's
behaviour.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
---
 doc/sogrep.1.asciidoc | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'doc/sogrep.1.asciidoc')

diff --git a/doc/sogrep.1.asciidoc b/doc/sogrep.1.asciidoc
index 328b82b..bc8f6ce 100644
--- a/doc/sogrep.1.asciidoc
+++ b/doc/sogrep.1.asciidoc
@@ -28,4 +28,15 @@ Options
 *-h, --help*::
 	Show a help text
 
+
+Environment Variables
+---------------------
+**SOLINKS_MIRROR**="https://mirror.foo.com"
+	Alternative mirror to use for downloading soname links database.
+
+**SOCACHE_DIR**="/path/to/directory"::
+	Directory where soname links database is stored, overrides the default
+	directory set by the **XDG_CACHE_HOME** environment variable or the
+	**HOME** environment variable if **XDG_CACHE_HOME** is not set.
+
 include::footer.asciidoc[]
-- 
cgit v1.2.3-54-g00ecf

