File 0837-init-get_argument-home-.-uses-HOME.patch of Package erlang

From b0fe99a137f704f44523ca253e7cd4057e101e7e Mon Sep 17 00:00:00 2001
From: Nathan Long <him@nathanmlong.com>
Date: Wed, 22 Jan 2020 15:56:53 -0500
Subject: [PATCH] `init:get_argument(home).` uses `$HOME`

Demo:

```
HOME="silly_value" /path/to/erl
> init:get_argument(home).
{ok,[["silly_value"]]}
```
---
 erts/doc/src/init.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/doc/src/init.xml b/erts/doc/src/init.xml
index c824e37976..d6c73a02ec 100644
--- a/erts/doc/src/init.xml
+++ b/erts/doc/src/init.xml
@@ -101,7 +101,7 @@
           </item>
           <tag><c>home</c></tag>
           <item>
-            <p>The home directory:</p>
+            <p>The home directory (on Unix, the value of $HOME):</p>
             <pre>
 4> <input>init:get_argument(home).</input>
 {ok,[["/home/harry"]]}</pre>
-- 
2.16.4

openSUSE Build Service is sponsored by