From 5ea1d7cd4b630a91b4a72fb722a937a107d76fc0 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 13 Jul 2024 05:03:48 +0000 Subject: driver: -s support: implementation and integration. --- src/skin/tpax_skin_default.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/skin') diff --git a/src/skin/tpax_skin_default.c b/src/skin/tpax_skin_default.c index a618645..dd62b86 100644 --- a/src/skin/tpax_skin_default.c +++ b/src/skin/tpax_skin_default.c @@ -93,6 +93,21 @@ const tpax_hidden struct argv_option tpax_default_options[] = { "a user-provided, format-specific keyval array of the form " "keyword[[:]=value][,keyword[[:]=value], ...]"}, + {"Wreplstr", 's',TAG_REPLSTR,ARGV_OPTARG_REQUIRED, + ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE,0,0, + "rename files and archive members as they are being added to " + "or extracted from the archive according to the specified " + "ed(1) style replacement string, which should be in the format " + "[gp]; as an example, " + "-s ',^/git/tpax/,tpax-1.2.3/,' uses as the separator " + "character, and instructs pax to prefix all files rooted in " + "'/git/tpax/' with 'tpax-1.2.3/' while leaving the names of files which " + "do not match the regex expression unchanged. " + "When this option is repeated, pax shall attempt to match each file or " + "member name against all of the provided repalcement-string arguments " + "in the order of appearnce on the command line until the first " + "successful match."}, + {"Wstrict-device-id", 'X',TAG_STRICT_DEVICE_ID,ARGV_OPTARG_NONE, ARGV_OPTION_HYBRID_ONLY,0,0, -- cgit v1.2.3