From 893ea2155b6c45e0f34ce174f0ae030a32487a78 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 28 Jan 2020 22:32:19 -0500 Subject: driver: implemented execution mode logic. --- src/skin/tpax_skin_default.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/skin') diff --git a/src/skin/tpax_skin_default.c b/src/skin/tpax_skin_default.c index c969ff3..eb7e363 100644 --- a/src/skin/tpax_skin_default.c +++ b/src/skin/tpax_skin_default.c @@ -8,5 +8,18 @@ const struct argv_option tpax_default_options[] = { {"help", 0,TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0, "show usage information [listing %s options only]"}, + {"list", 0,TAG_LIST,ARGV_OPTARG_NONE,0,0,0, + "list mode (output names of archive members"}, + + {"read", 'r',TAG_READ,ARGV_OPTARG_NONE,0,0,0, + "read mode (extract matching archive members"}, + + {"write", 'w',TAG_WRITE,ARGV_OPTARG_NONE,0,0,0, + "write mode (add specified files to archive"}, + + {"copy", 0,TAG_COPY,ARGV_OPTARG_NONE,0,0,0, + "copy mode (copy specified files " + "to a specified destination directory)"}, + {0,0,0,0,0,0,0,0} }; -- cgit v1.2.3