Blame src/skin/slbt_skin_ar.c

995aad
#include "slibtool_driver_impl.h"
11f3c7
#include "argv/argv.h"
11f3c7
11f3c7
const struct argv_option slbt_ar_options[] = {
b87f70
	{"version",	0,TAG_AR_VERSION,ARGV_OPTARG_NONE,0,0,0,
b87f70
			"show version information"},
b87f70
11f3c7
	{"help",	'h',TAG_AR_HELP,ARGV_OPTARG_NONE,0,0,0,
11f3c7
			"display ar mode help"},
11f3c7
af36ce
	{"Wcheck",	0,TAG_AR_CHECK,ARGV_OPTARG_NONE,
af36ce
			ARGV_OPTION_HYBRID_ONLY,
af36ce
			"[ARCHIVE-FILE]",0,
d6b3d7
			"verify that each %s is a valid archive; "
af36ce
			"supported variants are BSD, SysV, and PE/COFF"},
af36ce
8afddf
	{"Wprint",	0,TAG_AR_PRINT,ARGV_OPTARG_OPTIONAL,
8afddf
			ARGV_OPTION_HYBRID_EQUAL|ARGV_OPTION_HYBRID_COMMA,
8afddf
			"members",0,
8afddf
			"print out information pertaining to each archive file "
8afddf
			"and its various internal elements"},
8afddf
8afddf
	{"Wpretty",	0,TAG_AR_PRETTY,ARGV_OPTARG_REQUIRED,
8afddf
			ARGV_OPTION_HYBRID_EQUAL,
8afddf
			"posix|yaml|hexdata",0,
8afddf
			"select the pretty printer to be used: "
8afddf
			"'posix' for ar(1) compatible output; "
8afddf
			"'yaml' for yaml-formatted data; and "
8afddf
			"'hexdata' for yaml-formatted data with additional "
8afddf
			"hexdump output"},
af36ce
886865
	{"Wposix",	0,TAG_AR_POSIX,ARGV_OPTARG_NONE,
886865
			ARGV_OPTION_HYBRID_ONLY,0,0,
886865
			"a shorthand for -Wpretty=posix"},
886865
886865
	{"Wyaml",	0,TAG_AR_YAML,ARGV_OPTARG_NONE,
886865
			ARGV_OPTION_HYBRID_ONLY,0,0,
886865
			"a shorthand for -Wpretty=yaml"},
886865
191700
	{"Wverbose",	0,TAG_AR_VERBOSE,ARGV_OPTARG_NONE,
191700
			ARGV_OPTION_HYBRID_ONLY,0,0,
191700
			"produce verbose output; "
191700
			"in combination with -Wpretty=posix, this will result "
191700
			"in `ar(1) -tv` compatible output."},
191700
11f3c7
	{0,0,0,0,0,0,0,0}
11f3c7
};