CONSTANT:OPTIONS { T{option { name "--xmode"} { help "set the file mode, or guess from filename"} { #args 1 } } T{option { name "--format"} { help "set the format to: 256, ansi, html, or pdf" } { default "256"} { convert [>lower]} { validate [{"256""ansi""html""pdf"}member?] } { #args 1 } } T{option { name "--output"} { help "set the output filename, or default to stdout" } { #args 1 } } T{option { name "input"} { help "set the input filename, or default to stdin" } { #args "?"} } }inline