diff options
author | Richard Hughes <richard@hughsie.com> | 2014-06-16 10:04:46 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-06-16 10:05:11 +0100 |
commit | e674d6e8e909d6e0bb6f8babfff3c3c148a95468 (patch) | |
tree | 98408e82c1b5ac6bcc797bb143f66bd65726bc41 | |
parent | 91d3faddedd638a2453c90618b3c6fa84d791c11 (diff) | |
download | appstream-glib-e674d6e8e909d6e0bb6f8babfff3c3c148a95468.tar.gz |
trivial: Do not add an extra newline when using 'appstream-util dump foo.xml
Resolves part of https://github.com/hughsie/appstream-glib/issues/4
-rw-r--r-- | client/as-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/as-util.c b/client/as-util.c index 59dda89..125229f 100644 --- a/client/as-util.c +++ b/client/as-util.c @@ -281,7 +281,7 @@ as_util_dump_filename (AsUtilPrivate *priv, const gchar *filename, GError **erro AS_NODE_TO_XML_FLAG_FORMAT_MULTILINE | AS_NODE_TO_XML_FLAG_FORMAT_INDENT | AS_NODE_TO_XML_FLAG_ADD_HEADER); - g_print ("%s\n", xml->str); + g_print ("%s", xml->str); return TRUE; } |