summaryrefslogtreecommitdiffhomepage
path: root/src/arbits
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-03 05:31:46 +0000
committermidipix <writeonce@midipix.org>2024-02-03 05:31:46 +0000
commite7c28b37271902687a69290aec91c72eba29567d (patch)
treeb52c57ae16f3f49f4dc29a15e7e3541ce03ec993 /src/arbits
parent8868650e2edf08dac6d2472a6ead903db48d12f7 (diff)
downloadslibtool-e7c28b37271902687a69290aec91c72eba29567d.tar.bz2
slibtool-e7c28b37271902687a69290aec91c72eba29567d.tar.xz
slbt_ar_output_arname_yaml(): produce a more data-oriented yaml output.
Diffstat (limited to 'src/arbits')
-rw-r--r--src/arbits/output/slbt_ar_output_arname.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_ar_output_arname.c b/src/arbits/output/slbt_ar_output_arname.c
index 94d3fa8..0ca0de3 100644
--- a/src/arbits/output/slbt_ar_output_arname.c
+++ b/src/arbits/output/slbt_ar_output_arname.c
@@ -40,7 +40,12 @@ static int slbt_ar_output_arname_yaml(
path = actx->path && *actx->path ? *actx->path : mema;
- if (slbt_dprintf(fdctx->fdout,"Archive: %s\n",path) < 0)
+ if (slbt_dprintf(
+ fdctx->fdout,
+ "Archive:\n"
+ " - name:\n"
+ " - [ %s ]\n\n",
+ path) < 0)
return SLBT_SYSTEM_ERROR(dctx,0);
return 0;