contents.gifprev.gifnext.gifhome.gif

OPTION USAGE

LZX options may be specified anywhere on the command line, and begin with the
dash (-) character.  The option letter(s) and any optional parameter(s) should
follow the dash character.


Example                                Comment

LZX a testfile.lzx dh0:test            No options

LZX -x x testfile.lzx                  -x option

LZX x -x testfile.lzx                  -x option (same effect as above)

LZX x testfile.lzx -x                  -x option (same effect as above)

LZX -bi32 x testfile.lzx               -bi option with parameter "32"

LZX -x -a0 a testfile.lzx dh0:test     -x and -a0 options

LZX a -x testfile.lzx dh0:test -a0     -x and -a0 options (same as above)


Since LZX allows options to appear anywhere on the command line, the following
command could be considered ambiguous:  "LZX a testfile.lzx -testfile2".  In
this case one is actually trying to add a file which has a name starting with
the dash (-) character.  LZX would take "-testfile2" to be the "-t" option
with "estfile2" as a parameter.

To solve this problem, the double dash (--) option exists; LZX will not parse
any options on the command line after a double dash.  To correctly perform
the above command, one would use:  "LZX -- a testfile.lzx -testfile2".  The
double dash, like any other option, can be placed anywhere on the command
line, but must appear before the "-testfile2" parameter.


contents.gifprev.gifnext.gifhome.gif