1406a584dSPhil ShaferUsage: xo [options] format [fields] 2406a584dSPhil Shafer --close <path> Close tags for the given path 3406a584dSPhil Shafer --close-instance <name> Close an open instance name 4406a584dSPhil Shafer --close-list <name> Close an open list name 5406a584dSPhil Shafer --continuation OR -C Output belongs on same line as previous output 6406a584dSPhil Shafer --depth <num> Set the depth for pretty printing 7406a584dSPhil Shafer --help Display this help text 8406a584dSPhil Shafer --html OR -H Generate HTML output 9*76afb20cSPhil Shafer --instance OR -I <name> Wrap in an instance of the given name 10406a584dSPhil Shafer --json OR -J Generate JSON output 11406a584dSPhil Shafer --leading-xpath <path> OR -l <path> Add a prefix to generated XPaths (HTML) 12406a584dSPhil Shafer --not-first Indicate this object is not the first (JSON) 13406a584dSPhil Shafer --open <path> Open tags for the given path 14406a584dSPhil Shafer --open-instance <name> Open an instance given by name 15406a584dSPhil Shafer --open-list <name> Open a list given by name 16406a584dSPhil Shafer --option <opts> -or -O <opts> Give formatting options 17406a584dSPhil Shafer --pretty OR -p Make 'pretty' output (add indent, newlines) 18406a584dSPhil Shafer --style <style> OR -s <style> Generate given style (xml, json, text, html) 19406a584dSPhil Shafer --text OR -T Generate text output (the default style) 20406a584dSPhil Shafer --top-wrap Generate a top-level object wrapper (JSON) 21406a584dSPhil Shafer --version Display version information 22406a584dSPhil Shafer --warn OR -W Display warnings in text on stderr 23406a584dSPhil Shafer --warn-xml Display warnings in xml on stdout 24406a584dSPhil Shafer --wrap <path> Wrap output in a set of containers 25406a584dSPhil Shafer --xml OR -X Generate XML output 26406a584dSPhil Shafer --xpath Add XPath data to HTML output 27