|-x||Sets execution trace mode|
|-v||Sets verbose mode|
|-c "command"||Executes "command" then exits|
|-e||Enables "throw on error" mode|
|-rcfile file||If in interactive mode then executes file as the rcfile instead of $HOME/.xmlshrc or $XMLSHRC|
|-norc||Do NOT process any rcfile, either implicit or via the -rcfile option|
|script [arguments]||If a script is given then it is run as an xmlsh script passing any supplied arguments as positional parameters.|
see Run, or from within xmlsh to start a sub-shell.
On startup, if there is no "-c" argument and no script argument then xmlsh is run in interactive mode. In interactive mode, on startup the "rcfile" is looked for and if it exists is run in source mode. By default xmlsh uses $HOME/.xmlshrc as the rcfile but this can be overridden by the -rcfile argument.
The -x , -v and -e flags can also be set with the set command and are documented there.
Builtin Variables for special treatment of environment variables on startup, and for variables maintained by the shell.