Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-909

CLI Help - rightmost character is chopped off

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • s12
    • None
    • None
    • None

       
      ~/NGF/dfdl (0.12.0) ./daffodil-cli/target/start parse --help
      Usage: daffodil parse (-s <schema>... [-r <root> [-n <namespace>]] [-p <path>] |
                             -P <parser>)
                            [--validate [mode]]
                            [-D[{namespace}]<variable>=<value>...] [-o <output>]
                            [-c <file>] [infile]
       
      Parse a file, using either a DFDL schema or a saved parser
       
      Parse Options:
        -c, --config  <file>                   path to file containing configuratio
                                               items.
        -Dvariable=value [variable=value]...   variables to be used when parsing. A
                                               option namespace may be provided.
        -n, --namespace  <ns>                  the namespace of the root element.
                                               Requires --root.
        -o, --output  <file>                   write output to a given file. If not
                                               given or is -, output is written to
                                               stdout.
        -P, --parser  <file>                   use a previously saved parser.
        -p, --path  <path>                     path to the node to create parser.
        -r, --root  <node>                     the root element of the XML file to
                                               use. This needs to be one of the
                                               top-level elements of the DFDL schem
                                               defined with --schema. Requires
                                               --schema. If not supplied uses the
                                               first element of the first schema
        -s, --schema  <file>                   the annotated DFDL schema to use to
                                               create the parser. May be supplied
                                               multiple times for multi-schema
                                               support.
        -V, --validate  <mode>...              the validation mode. 'on', 'limited'
                                               or 'off'. Defaults to 'on' if mode i
                                               not supplied. (default = Off)
            --help                             Show help message
            --version                          Show version of this program
       
       trailing arguments:
        infile (not required)   input file to parse. If not specified, or a value o
                                -, reads from stdin.

      examples:

        -V, --validate  <mode>...              the validation mode. 'on', 'limited'
                                               or 'off'. Defaults to 'on' if mode i
                                               not supplied. (default = Off)

                                               use. This needs to be one of the
                                               top-level elements of the DFDL schem
                                               defined with --schema. Requires

      I am seeing this on a CentOS 6 VM

              jchab Jessie Chab
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: