You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sl...@apache.org on 2019/02/14 17:43:36 UTC

[incubator-daffodil-site] 22/39: Update CLI page with the new --stream option

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

slawrence pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-daffodil-site.git

commit 70adb42f753ad996aa7630ec4c943198ab355721
Author: Steve Lawrence <sl...@tresys.com>
AuthorDate: Mon Aug 20 07:34:00 2018 -0400

    Update CLI page with the new --stream option
---
 site/cli.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/site/cli.md b/site/cli.md
index b94ac62..5941397 100644
--- a/site/cli.md
+++ b/site/cli.md
@@ -120,6 +120,10 @@ Parse a file, using either a DFDL schema or a saved parser.
 
    : The annotated DFDL schema to use to create the parser. This option cannot be used with the ``--parser`` option.
 
+``--stream``
+
+   : Rather than throwing an error when left over data exists after a parse, repeat the parse with the remaining data. Parsing repeats until end of data is reached, an error occurs, or no data is consumed. Output infosets are separated by a NUL character.
+
 ``-T TUNABLE=VALUE``
 
    : Modify Daffodil configuration options to change parsing behavior. See [Configuration](/configuration) for the list of tunable parameters.
@@ -186,6 +190,10 @@ Unparse an infoset file, using either a DFDL schema or a saved parser.
 
    : The annotated DFDL schema to use to create the parser. This option cannot be used with the ``--parser`` option.
 
+``--stream``
+
+   : Split the input data at NUL characters and unparse each chunk separately to the same output file.
+
 ``-T TUNABLE=VALUE``
 
    : Modify Daffodil configuration options to change parsing behavior. See [Configuration](/configuration) for the list of tunable parameters.