Blame src/skin/toks_skin_default.c

2420c2
#include "toksvc_driver_impl.h"
2420c2
#include "argv/argv.h"
2420c2
2420c2
const struct argv_option toks_default_options[] = {
2420c2
	{"version",		'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
2420c2
				"show version information"},
2420c2
2420c2
	{"help",		'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
2420c2
				"show usage information [listing %s options only]"},
2420c2
2420c2
	{"sysroot",		0,TAG_SYSROOT,ARGV_OPTARG_REQUIRED,0,0,"<dir>",
2420c2
				"pass a handle to %s to the spawned child process, "
2420c2
				"and set it to be the child's intial root directory."},
2420c2
2420c2
	{"daemon",		0,TAG_DAEMON,ARGV_OPTARG_OPTIONAL,0,"default|always|never",0,
618937
				"have the service's daemon thread handle signals sent by the "
618937
				"application's own controlling terminal. The default is for "
618937
				"the daemon thread to handle signals when the service runs as "
618937
				"a stand-alone program, and defer the task to the main utility "
618937
				"in all other cases."},
618937
618937
	{"uuid",		'u',TAG_UUID,ARGV_OPTARG_REQUIRED,0,0,"<uuid>",
618937
				"set the service identifier to %s."},
2420c2
c847e3
	{"tokens",		't',TAG_TOKENS,ARGV_OPTARG_REQUIRED,0,0,"<ntokens>",
c847e3
				"set the number of available tokens to %s, which should be "
c847e3
				"in the range of 1..9999."},
c847e3
486fcd
	{"connect",		'c',TAG_CONNECT,ARGV_OPTARG_NONE,0,0,0,
486fcd
				"connect to the server without placing any request"},
486fcd
02451d
	{"acquire",		'a',TAG_ACQUIRE,ARGV_OPTARG_NONE,0,0,0,
02451d
				"acquire the next available token"},
02451d
e3e583
	{"pid",			'p',TAG_PID,ARGV_OPTARG_REQUIRED,0,0,"<pid>",
e3e583
				"assign the token to the framework process "
e3e583
				"identified by %s"},
e3e583
867b30
	{"release",		'r',TAG_RELEASE,ARGV_OPTARG_REQUIRED,0,0,"<token>",
867b30
				"release the key specified by %s."},
867b30
2420c2
	{0,0,0,0,0,0,0,0}
2420c2
};