applied a fix from Anthony Jones for -o /--output Daniel

* xmllint.c: applied a fix from Anthony Jones for -o /--output
Daniel
diff --git a/ChangeLog b/ChangeLog
index 86b3f26..04fe8e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
+Tue Apr  9 11:51:25 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+	* xmllint.c: applied a fix from Anthony Jones for -o /--output
+
 Tue Apr  2 20:27:11 MST 2002 John Fleck <jfleck@inkstain.net>
 
-	* doc/example.html
-	fixing typo
+	* doc/example.html: fixing typo
 
 Mon Apr  1 10:02:57 CEST 2002 Daniel Veillard <daniel@veillard.com>
 
diff --git a/xmllint.c b/xmllint.c
index 0d0eed3..467f9ef 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -1066,7 +1066,7 @@
 	         (!strcmp(argv[i], "-output")) ||
 	         (!strcmp(argv[i], "--output"))) {
 	    i++;
-	    output = argv[i++];
+	    output = argv[i];
 	}
 	else if ((!strcmp(argv[i], "-htmlout")) ||
 	         (!strcmp(argv[i], "--htmlout")))