summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Degomme <morphalus@gmail.com>2015-10-23 19:35:02 +0800
committerDaniel Veillard <veillard@redhat.com>2015-10-23 19:35:02 +0800
commitb40c19405e9e069501ffd3b439347a7fdfc4d19d (patch)
tree5f72e7c69112c8799ffe0b16a2f4405d22230fd5
parentbd0526e66a56e75a18da8c15c4750db8f801c52d (diff)
downloadlibxml2-b40c19405e9e069501ffd3b439347a7fdfc4d19d.tar.gz
Fix a small error in xmllint --format description
Obviously it operates on the output not the input
-rw-r--r--xmllint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index b297ded1..1e2eb4ab 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -3046,7 +3046,7 @@ static void usage(const char *name) {
printf("\t--noblanks : drop (ignorable?) blanks spaces\n");
printf("\t--nocdata : replace cdata section with text nodes\n");
#ifdef LIBXML_OUTPUT_ENABLED
- printf("\t--format : reformat/reindent the input\n");
+ printf("\t--format : reformat/reindent the output\n");
printf("\t--encode encoding : output in the given encoding\n");
printf("\t--dropdtd : remove the DOCTYPE of the input docs\n");
printf("\t--pretty STYLE : pretty-print in a particular style\n");