|
|
88751e |
#include "tpax_driver_impl.h"
|
|
|
88751e |
#include "argv/argv.h"
|
|
|
88751e |
|
|
|
88751e |
const struct argv_option tpax_default_options[] = {
|
|
|
88751e |
{"version", 0,TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
|
|
|
88751e |
"show version information"},
|
|
|
88751e |
|
|
|
88751e |
{"help", 0,TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
|
|
|
88751e |
"show usage information [listing %s options only]"},
|
|
|
88751e |
|
|
|
893ea2 |
{"list", 0,TAG_LIST,ARGV_OPTARG_NONE,0,0,0,
|
|
|
893ea2 |
"list mode (output names of archive members"},
|
|
|
893ea2 |
|
|
|
893ea2 |
{"read", 'r',TAG_READ,ARGV_OPTARG_NONE,0,0,0,
|
|
|
893ea2 |
"read mode (extract matching archive members"},
|
|
|
893ea2 |
|
|
|
893ea2 |
{"write", 'w',TAG_WRITE,ARGV_OPTARG_NONE,0,0,0,
|
|
|
893ea2 |
"write mode (add specified files to archive"},
|
|
|
893ea2 |
|
|
|
893ea2 |
{"copy", 0,TAG_COPY,ARGV_OPTARG_NONE,0,0,0,
|
|
|
893ea2 |
"copy mode (copy specified files "
|
|
|
893ea2 |
"to a specified destination directory)"},
|
|
|
893ea2 |
|
|
|
88751e |
{0,0,0,0,0,0,0,0}
|
|
|
88751e |
};
|