[libxml2] Fix a small error in xmllint --format description



commit b40c19405e9e069501ffd3b439347a7fdfc4d19d
Author: Fabien Degomme <morphalus gmail com>
Date:   Fri Oct 23 19:35:02 2015 +0800

    Fix a small error in xmllint --format description
    
    Obviously it operates on the output not the input

 xmllint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xmllint.c b/xmllint.c
index b297ded..1e2eb4a 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");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]