summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-01-07 00:19:07 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-01-07 00:19:07 +0000
commit8326e73bc163e15fd7b5264c0cc6cf2480723869 (patch)
tree89e449d6770cfa4b463e2fb91ae7216107ee471c /xmllint.c
parenta55b27bc56da617d5d1c65ef114c5f59b08cdea5 (diff)
downloadlibxml2-8326e73bc163e15fd7b5264c0cc6cf2480723869.tar.gz
fixed --with-threads compile fixed --without-debug compile cleanup add a
* globals.c: fixed --with-threads compile * xmllint.c: fixed --without-debug compile * include/libxml/globals.h: cleanup * include/libxml/schemasInternals.h: add a missing include Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index 917a6ede..19fc3ab3 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -86,10 +86,10 @@
#include <libxml/xmlreader.h>
#ifdef LIBXML_DEBUG_ENABLED
-static int debug = 0;
static int shell = 0;
static int debugent = 0;
#endif
+static int debug = 0;
static int copy = 0;
static int recovery = 0;
static int noent = 0;
@@ -1132,6 +1132,8 @@ static void usage(const char *name) {
printf("\t--debug : dump a debug tree of the in-memory document\n");
printf("\t--shell : run a navigating shell\n");
printf("\t--debugent : debug the entities defined in the document\n");
+#else
+ printf("\t--debug : dump the nodes content when using --stream\n");
#endif
printf("\t--copy : used to test the internal copy implementation\n");
printf("\t--recover : output what was parsable on broken XML documents\n");