diff options
author | midipix <writeonce@midipix.org> | 2024-02-03 05:31:46 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-03 05:31:46 +0000 |
commit | e7c28b37271902687a69290aec91c72eba29567d (patch) | |
tree | b52c57ae16f3f49f4dc29a15e7e3541ce03ec993 /src | |
parent | 8868650e2edf08dac6d2472a6ead903db48d12f7 (diff) | |
download | slibtool-e7c28b37271902687a69290aec91c72eba29567d.tar.bz2 slibtool-e7c28b37271902687a69290aec91c72eba29567d.tar.xz |
slbt_ar_output_arname_yaml(): produce a more data-oriented yaml output.
Diffstat (limited to 'src')
-rw-r--r-- | src/arbits/output/slbt_ar_output_arname.c | 7 |
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; |