Blame src/skin/ntux_skin_chmod.c

80f43a
#include "ntux_driver_impl.h"
80f43a
#include "argv/argv.h"
80f43a
80f43a
const struct argv_option ntux_chmod_options[] = {
80f43a
	{"version",		'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"show version information"},
80f43a
80f43a
	{"help",		'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
80f43a
				"show usage information [listing %s options only]"},
80f43a
80f43a
	{"verbose",		'V',TAG_VERBOSE,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"dump security descriptor information for each file and action"},
80f43a
80f43a
	{"silent",		'f',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"suppress most error messages"},
80f43a
80f43a
	{"recursive",		'R',TAG_RECURSIVE,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"recurse into sub-directories"},
80f43a
80f43a
	{"strmode",		's',TAG_STRMODE,ARGV_OPTARG_REQUIRED,0,0,"<STRMODE>",
80f43a
				"set mode based on the symbolic mode %s"},
80f43a
80f43a
	{"refmode",		'e',TAG_REFMODE,ARGV_OPTARG_REQUIRED,0,0,"<REFMODE>",
80f43a
				"set mode based on the reference file %s"},
80f43a
80f43a
	{"reference",		0,TAG_REFMODE,ARGV_OPTARG_REQUIRED,0,0,0,
80f43a
				"a synonym for --refmode"},
80f43a
80f43a
	{"changes",		'c',TAG_CHANGES,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"a synonym for --refmode"},
80f43a
80f43a
	{"preserve-root",	0,TAG_ROOTED,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"disallow operating on the root folder /"},
80f43a
80f43a
	{"no-preserve-root",	0,TAG_ROOTLESS,ARGV_OPTARG_NONE,0,0,0,
80f43a
				"allow operating on the root folder /"},
80f43a
80f43a
	{0,0,0,0,0,0,0,0}
80f43a
};