summaryrefslogtreecommitdiff
path: root/src/format-usage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/format-usage.txt')
-rw-r--r--src/format-usage.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/format-usage.txt b/src/format-usage.txt
new file mode 100644
index 0000000..7a93cf7
--- /dev/null
+++ b/src/format-usage.txt
@@ -0,0 +1,19 @@
+XMLStarlet Toolkit: Format XML document
+Usage: PROG fo [<options>] <xml-file>
+where <options> are
+ -n or --noindent - do not indent
+ -t or --indent-tab - indent output with tabulation
+ -s or --indent-spaces <num> - indent output with <num> spaces
+ -o or --omit-decl - omit xml declaration <?xml version="1.0"?>
+ --net - allow network access
+ -R or --recover - try to recover what is parsable
+ -D or --dropdtd - remove the DOCTYPE of the input docs
+ -C or --nocdata - replace cdata section with text nodes
+ -N or --nsclean - remove redundant namespace declarations
+ -e or --encode <encoding> - output in the given encoding (utf-8, unicode...)
+#ifdef LIBXML_HTML_ENABLED
+ -H or --html - input is HTML
+#endif
+ -Q or --quiet - Suppress errors from libxml2
+ -h or --help - print help
+