diff options
author | midipix <writeonce@midipix.org> | 2020-01-28 22:32:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-05-23 05:59:01 +0000 |
commit | 893ea2155b6c45e0f34ce174f0ae030a32487a78 (patch) | |
tree | 35c4be1c4c294bb4a850f097730a55ab48bc3b8d /src/skin | |
parent | a9490ccb9fdf7ef146a7886526f1b1cf6bf2c714 (diff) | |
download | tpax-893ea2155b6c45e0f34ce174f0ae030a32487a78.tar.bz2 tpax-893ea2155b6c45e0f34ce174f0ae030a32487a78.tar.xz |
driver: implemented execution mode logic.
Diffstat (limited to 'src/skin')
-rw-r--r-- | src/skin/tpax_skin_default.c | 13 |
1 files changed, 13 insertions, 0 deletions
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} }; |