1*406a584dSPhil ShaferUsage: xo [options] format [fields] 2*406a584dSPhil Shafer --close <path> Close tags for the given path 3*406a584dSPhil Shafer --close-instance <name> Close an open instance name 4*406a584dSPhil Shafer --close-list <name> Close an open list name 5*406a584dSPhil Shafer --continuation OR -C Output belongs on same line as previous output 6*406a584dSPhil Shafer --depth <num> Set the depth for pretty printing 7*406a584dSPhil Shafer --help Display this help text 8*406a584dSPhil Shafer --html OR -H Generate HTML output 9*406a584dSPhil Shafer --json OR -J Generate JSON output 10*406a584dSPhil Shafer --leading-xpath <path> OR -l <path> Add a prefix to generated XPaths (HTML) 11*406a584dSPhil Shafer --not-first Indicate this object is not the first (JSON) 12*406a584dSPhil Shafer --open <path> Open tags for the given path 13*406a584dSPhil Shafer --open-instance <name> Open an instance given by name 14*406a584dSPhil Shafer --open-list <name> Open a list given by name 15*406a584dSPhil Shafer --option <opts> -or -O <opts> Give formatting options 16*406a584dSPhil Shafer --pretty OR -p Make 'pretty' output (add indent, newlines) 17*406a584dSPhil Shafer --style <style> OR -s <style> Generate given style (xml, json, text, html) 18*406a584dSPhil Shafer --text OR -T Generate text output (the default style) 19*406a584dSPhil Shafer --top-wrap Generate a top-level object wrapper (JSON) 20*406a584dSPhil Shafer --version Display version information 21*406a584dSPhil Shafer --warn OR -W Display warnings in text on stderr 22*406a584dSPhil Shafer --warn-xml Display warnings in xml on stdout 23*406a584dSPhil Shafer --wrap <path> Wrap output in a set of containers 24*406a584dSPhil Shafer --xml OR -X Generate XML output 25*406a584dSPhil Shafer --xpath Add XPath data to HTML output 26