about summary refs log tree commit diff
path: root/src/libutil/xml-writer.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-03T15·52+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-03T15·52+0000
commit339e6f0e1d8a8eddcaa58ceb3e7396eca9714087 (patch)
tree20d65ff8cd75ffc9c03961242460841dfeb4b605 /src/libutil/xml-writer.hh
parent0e267e2625dba2c771996bcf537d1ebb6956ba58 (diff)
* `nix-env -q --xml': show query result in XML format for easier
  automated processing.

Diffstat (limited to 'src/libutil/xml-writer.hh')
-rw-r--r--src/libutil/xml-writer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/xml-writer.hh b/src/libutil/xml-writer.hh
index 84c7fafbc9..ae6c76ff2c 100644
--- a/src/libutil/xml-writer.hh
+++ b/src/libutil/xml-writer.hh
@@ -33,7 +33,7 @@ public:
         const XMLAttrs & attrs = XMLAttrs());
     void closeElement();
 
-    void writeShortElement(const string & name,
+    void writeEmptyElement(const string & name,
         const XMLAttrs & attrs = XMLAttrs());
     
     void writeCharData(const string & data);