This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit b9a2371afe3e694acfff9ac07b0a2c563e92ebd7
Author: Matt Burgess <mattyb...@apache.org>
AuthorDate: Thu Oct 26 20:20:43 2023 -0400

    NIFI-12273 Fixed command.argument references in ExecuteStreamCommand docs
    
    This closes #7941
    
    Signed-off-by: David Handermann <exceptionfact...@apache.org>
    (cherry picked from commit 880770f992c9bf85629d90031024c3a60356ba2f)
---
 .../additionalDetails.html                                        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/resources/docs/org.apache.nifi.processors.standard.ExecuteStreamCommand/additionalDetails.html
 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/resources/docs/org.apache.nifi.processors.standard.ExecuteStreamCommand/additionalDetails.html
index 23fd22f0da..c22d859744 100644
--- 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/resources/docs/org.apache.nifi.processors.standard.ExecuteStreamCommand/additionalDetails.html
+++ 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/resources/docs/org.apache.nifi.processors.standard.ExecuteStreamCommand/additionalDetails.html
@@ -53,7 +53,7 @@
         <p><b>NOTE:</b> the command should be on <code>$PATH</code> or it 
should be in the working directory, otherwise path also should be specified.</p>
 
         <h4>Dynamic Properties</h4>
-        <p>Arguments can be specified with Dynamic Properties. Dynamic 
Properties with the pattern of 'command.arguments.&lt;commandIndex&gt;' will be 
appended
+        <p>Arguments can be specified with Dynamic Properties. Dynamic 
Properties with the pattern of 'command.argument.&lt;commandIndex&gt;' will be 
appended
         to the command in ascending order.</p>
 
         <p>The above example with dynamic properties would look like this:</p>
@@ -64,11 +64,11 @@
                 <th>Property Value</th>
             </tr>
             <tr>
-                <td>command.arguments.0</td>
+                <td>command.argument.0</td>
                 <td>-lah</td>
             </tr>
             <tr>
-                <td>command.arguments.1</td>
+                <td>command.argument.1</td>
                 <td>/path/to/dir</td>
             </tr>
         </table>
@@ -76,7 +76,7 @@
         <h3>Configuring environment variables</h3>
         <p>In addition to specifying command arguments using the Command 
Argument field or Dynamic Properties, users can also use environment variables 
with
         the ExecuteStreamCommand processor. Environment variables are a set of 
key-value pairs that can be accessed by processes running on the system.
-        ExecuteStreamCommand will treat every Dynamic Property as an 
environment variable that doesn't match the pattern 
'command.arguments.&lt;commandIndex&gt;'.</p>
+        ExecuteStreamCommand will treat every Dynamic Property as an 
environment variable that doesn't match the pattern 
'command.argument.&lt;commandIndex&gt;'.</p>
 
         <p>Consider that we want to execute a Maven command with the 
processor. If there are multiple Java versions installed on the system, you can 
specify
         which version will be used by setting the <code>JAVA_HOME</code> 
environment variable. The output FlowFile will looke like this if we run

Reply via email to