aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/zot/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/zot/main.rs b/src/bin/zot/main.rs
index f2caac4..a8451b2 100644
--- a/src/bin/zot/main.rs
+++ b/src/bin/zot/main.rs
@@ -95,7 +95,9 @@ async fn main() {
if m.is_present("raw") {
println!("{}", r.fetch_raw(&client).await.unwrap());
} else {
- println!("{:?}", r.fetch(&client).await);
+ for abook in r.fetch(&client).await.unwrap() {
+ println!("{},{},{}", abook.xchan.name, abook.xchan.address, abook.xchan.network);
+ }
}
}
("group", Some(m)) => {