summaryrefslogtreecommitdiffhomepage
path: root/src/skin/slbt_skin_ar.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-27 22:09:30 +0000
committermidipix <writeonce@midipix.org>2024-01-27 22:17:33 +0000
commit8afddf605129d0d3c0de3ec085f995bed7df9132 (patch)
treef70103fb57be0e702dd3cdfeaddbc4018905918a /src/skin/slbt_skin_ar.c
parente70e361b54296c1cdc7d23ca1bd74ef740c97b7a (diff)
downloadslibtool-8afddf605129d0d3c0de3ec085f995bed7df9132.tar.bz2
slibtool-8afddf605129d0d3c0de3ec085f995bed7df9132.tar.xz
ar mode: added initial -Wprint and -Wpretty support.
Diffstat (limited to 'src/skin/slbt_skin_ar.c')
-rw-r--r--src/skin/slbt_skin_ar.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/skin/slbt_skin_ar.c b/src/skin/slbt_skin_ar.c
index 0c021d9..2991e4e 100644
--- a/src/skin/slbt_skin_ar.c
+++ b/src/skin/slbt_skin_ar.c
@@ -14,6 +14,20 @@ const struct argv_option slbt_ar_options[] = {
"verify that %s is a valid archive; "
"supported variants are BSD, SysV, and PE/COFF"},
+ {"Wprint", 0,TAG_AR_PRINT,ARGV_OPTARG_OPTIONAL,
+ ARGV_OPTION_HYBRID_EQUAL|ARGV_OPTION_HYBRID_COMMA,
+ "members",0,
+ "print out information pertaining to each archive file "
+ "and its various internal elements"},
+
+ {"Wpretty", 0,TAG_AR_PRETTY,ARGV_OPTARG_REQUIRED,
+ ARGV_OPTION_HYBRID_EQUAL,
+ "posix|yaml|hexdata",0,
+ "select the pretty printer to be used: "
+ "'posix' for ar(1) compatible output; "
+ "'yaml' for yaml-formatted data; and "
+ "'hexdata' for yaml-formatted data with additional "
+ "hexdump output"},
{0,0,0,0,0,0,0,0}
};