summaryrefslogtreecommitdiff
path: root/src/skin/tpax_skin_default.c
blob: dacc9d8bdf31d33cb1af66d8563fe2b2578f6e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include "tpax_driver_impl.h"
#include "argv/argv.h"

const struct argv_option tpax_default_options[] = {
	{"version",	0,TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
			"show version information"},

	{"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)"},


	{"format",	'x',TAG_FORMAT,ARGV_OPTARG_REQUIRED,0,
			"pax|cpio|ustar|rustar",0,
			"archive format [%s]"},

	{"blksize",	'b',TAG_BLKSIZE,ARGV_OPTARG_REQUIRED,0,0,0,
			"(non-default) block-size; valid values are "
			"in the range of 512 to 32256; keeping "
			"the default format-specific block size "
			"(5120 for the pax and cpio formats,"
			" 10240 for the ustar format) "
			"is strongly recommended."},

	{0,0,0,0,0,0,0,0}
};