Skip to content

Commit

Permalink
Merge pull request #578 from ndw/iss-542
Browse files Browse the repository at this point in the history
Clarify option defaulting
  • Loading branch information
ndw authored Jun 7, 2024
2 parents f8e394d + 5770776 commit 9805230
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions step-run/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,10 @@ readable port will be connected to it if no explicit connection is provided.</pa
the option value will be supplied to static analysis of the executed pipeline as a static option with the
same name.</para>

<para>Options of the dynamically executed pipeline that are not declared with <tag>p:run-option</tag> on the <tag>p:run</tag>
invocation will receive an empty sequence as their value. Options that are declared on <tag>p:run-option</tag> but not in the dynamically
executed pipeline will be silently ignored.</para>
<para>Options of the dynamically executed pipeline that are not provided by a <tag>p:run-option</tag> on the <tag>p:run</tag>
invocation will be defaulted in the normal way (if the option is required, the
invocation will fail, for example). Options that are provided by <tag>p:run-option</tag> but not declared in the dynamically
executed pipeline are silently ignored.</para>

<para>Each output port of the pipeline can appear as a same-named output port of the <tag>p:run</tag> step. In order for
this to happen, the port needs to be explicitly declared in the <tag>p:run</tag> step. In contrast to output declarations
Expand Down

0 comments on commit 9805230

Please sign in to comment.