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

asf-gitbox-commits pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hop-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new ab7f39662f Website updated to 2ff35d7
ab7f39662f is described below

commit ab7f39662f523ba3757c93d57ef34975d405f403
Author: jenkins <[email protected]>
AuthorDate: Mon Nov 2 03:11:41 2026 +0000

    Website updated to 2ff35d7
---
 manual/next/pipeline/transforms/loadfileinput.html |  2 +-
 manual/next/pipeline/transforms/yamlinput.html     |  2 +-
 manual/next/variables/parameters.html              | 25 +++++++---------------
 3 files changed, 10 insertions(+), 19 deletions(-)

diff --git a/manual/next/pipeline/transforms/loadfileinput.html 
b/manual/next/pipeline/transforms/loadfileinput.html
index 684ab34a3a..d999a60eab 100644
--- a/manual/next/pipeline/transforms/loadfileinput.html
+++ b/manual/next/pipeline/transforms/loadfileinput.html
@@ -3122,7 +3122,7 @@
 <td class="tableblock halign-left valign-top"><p class="tableblock">Field 
containing the row number</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Add files 
to result filesname</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Add files 
to result filenames</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Add files 
to resulting files name</p></td>
 </tr>
 </tbody>
diff --git a/manual/next/pipeline/transforms/yamlinput.html 
b/manual/next/pipeline/transforms/yamlinput.html
index 545e49bf66..928d0753b0 100644
--- a/manual/next/pipeline/transforms/yamlinput.html
+++ b/manual/next/pipeline/transforms/yamlinput.html
@@ -3372,7 +3372,7 @@ Not available when the source is defined in a 
field.</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">The name 
of that output field.</p></td>
 </tr>
 <tr>
-<td class="tableblock halign-left valign-top"><p class="tableblock">Add files 
to result filesname</p></td>
+<td class="tableblock halign-left valign-top"><p class="tableblock">Add files 
to result filenames</p></td>
 <td class="tableblock halign-left valign-top"><p class="tableblock">Adds the 
files that were read to the result files of the pipeline, for example for a 
later action in the workflow.
 Not available when the source is defined in a field.</p></td>
 </tr>
diff --git a/manual/next/variables/parameters.html 
b/manual/next/variables/parameters.html
index 8ff76d8bde..89e5d9f077 100644
--- a/manual/next/variables/parameters.html
+++ b/manual/next/variables/parameters.html
@@ -3058,26 +3058,15 @@ Wrap a value that contains a comma in double quotes, 
and the whole option in sin
 </div>
 </div>
 <div class="paragraph">
-<p><code>hop-run</code> gives every parameter the first value it finds:</p>
-</div>
-<div class="olist arabic">
-<ol class="arabic">
-<li>
-<p>The value passed with <code>-p</code>.</p>
-</li>
-<li>
-<p>The value of a variable with the same name, for example a project or 
environment variable, or a system property passed with <code>-s</code>.</p>
-</li>
-<li>
-<p>The default value.</p>
-</li>
-</ol>
+<p>A parameter gets the value passed with <code>-p</code>, or else its default 
value, like in Hop Gui.
+An empty value, like <code>-p INPUT_FILE=</code>, also gives it its default 
value.
+A project or environment variable, or a system property passed with 
<code>-s</code>, with the same name as the parameter is not used.</p>
 </div>
 <div class="paragraph">
-<p>An empty value, like <code>-p INPUT_FILE=</code>, gives the parameter its 
default value, even when a variable with the same name exists.</p>
+<p>A name passed with <code>-p</code> that the pipeline or workflow 
doesn&#8217;t declare is set as a variable.</p>
 </div>
 <div class="paragraph">
-<p>A name passed with <code>-p</code> that the pipeline or workflow 
doesn&#8217;t declare is set as a variable.</p>
+<p>If a value should come from the project or the environment, don&#8217;t 
declare it as a parameter: use the variable as <code>${NAME}</code> 
directly.</p>
 </div>
 <div class="admonitionblock note">
 <table>
@@ -3086,7 +3075,9 @@ Wrap a value that contains a comma in double quotes, and 
the whole option in sin
 <i class="fa icon-note" title="Note"></i>
 </td>
 <td class="content">
-Unlike Hop Gui, <code>hop-run</code> uses a project or environment variable 
with the same name before the default value.
+Before Hop 2.21, <code>hop-run</code> gave a parameter without a 
<code>-p</code> value the value of a project or environment variable with the 
same name, before its default value.
+A pipeline or workflow that relied on this gets the default value now.
+Pass the value with <code>-p</code>, or remove the parameter so the variable 
is used.
 </td>
 </tr>
 </table>

Reply via email to