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
d7daca
	{"refobj",		'e',TAG_REFOBJ,ARGV_OPTARG_REQUIRED,0,0,"<REFOBJ>",
80f43a
				"set mode based on the reference file %s"},
80f43a
d7daca
	{"reference",		0,TAG_REFOBJ,ARGV_OPTARG_REQUIRED,0,0,0,
d7daca
				"a synonym for --refobj"},
80f43a
80f43a
	{"changes",		'c',TAG_CHANGES,ARGV_OPTARG_NONE,0,0,0,
89468d
				"print a list of changed ACEs"},
80f43a
de8f1c
	{"owner",		'O',TAG_OWNER,ARGV_OPTARG_REQUIRED,0,0,"<OWNER>",
de8f1c
				"also set the owner to %s"},
de8f1c
de8f1c
	{"group",		'G',TAG_GROUP,ARGV_OPTARG_REQUIRED,0,0,"<GROUP>",
de8f1c
				"also set the group to %s"},
de8f1c
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
};