summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-09-04 11:38:19 +0300
committerTimo Teras <timo.teras@iki.fi>2009-09-04 11:38:19 +0300
commitd3861d70a88c6d2d3583fb90946aedb48a8d3e46 (patch)
tree331af53bde6c1ab9e31372d5396af331db160101 /src
parenta8c3125af4ccb886ecb18f22c1bd93e8ad37c64f (diff)
downloadapk-tools-d3861d70a88c6d2d3583fb90946aedb48a8d3e46.tar.bz2
apk-tools-d3861d70a88c6d2d3583fb90946aedb48a8d3e46.tar.xz
version: --index output to stdout instead of stderr
Diffstat (limited to 'src')
-rw-r--r--src/ver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ver.c b/src/ver.c
index 3f85afc..a617bdb 100644
--- a/src/ver.c
+++ b/src/ver.c
@@ -31,10 +31,10 @@ static int ver_indexes(struct apk_database *db, int argc, char **argv)
if (APK_BLOB_IS_NULL(repo->description))
continue;
- apk_message("%.*s [%s]",
- repo->description.len,
- repo->description.ptr,
- db->repos[i].url);
+ printf("%.*s [%s]\n",
+ repo->description.len,
+ repo->description.ptr,
+ db->repos[i].url);
}
return 0;