From 6c7160b1105f7f258898e7ba406289bef33fd756 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Wed, 21 Sep 2016 17:46:11 +0200
Subject: erts: Clearify run_erl docs

ERL-258
---
 erts/doc/src/run_erl.xml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'erts')

diff --git a/erts/doc/src/run_erl.xml b/erts/doc/src/run_erl.xml
index ad7b2c5b85..a9b6a7e2c6 100644
--- a/erts/doc/src/run_erl.xml
+++ b/erts/doc/src/run_erl.xml
@@ -49,7 +49,7 @@
   <funcs>
     <func>
       <name>run_erl [-daemon] pipe_dir/ log_dir "exec command
-        [command_arguments]"</name>
+        arg1 arg2 ..."</name>
       <fsummary>Start the Erlang emulator without attached terminal.</fsummary>
       <desc>
         <p>Arguments:</p>
@@ -92,11 +92,10 @@
               </item>
             </list>
           </item>
-          <tag><c>"exec command [command_arguments]"</c></tag>
+          <tag><c>"exec command arg1 arg2 ..."</c></tag>
           <item>
-            <p>In the third argument, <c><![CDATA[command]]></c> is the
-              executable to execute where everything written to <c>stdin</c>
-              and <c>stdout</c> is logged to <c><![CDATA[log_dir]]></c>.</p>
+	    <p>A space-separated string specifying the program to be executed.
+	      The second field is typically a command name such as <c>erl</c>.</p>
           </item>
         </taglist>
       </desc>
@@ -105,7 +104,7 @@
 
   <section>
     <title>Notes concerning the Log Files</title>
-    <p>While running, <c>run_erl</c> (as stated earlier) sends all output,
+    <p>While running, <c>run_erl</c> sends all output,
       uninterpreted, to a log file. The file is named
       <c><![CDATA[erlang.log.N]]></c>, where <c>N</c> is an integer. When the
       log is "full" (default log size is 100 KB), <c>run_erl</c> starts to log
-- 
cgit v1.2.3