firasuke / cross / slibtool

Forked from cross/slibtool 3 months ago
Clone
Blob Blame History Raw
#include "slibtool_uninstall_impl.h"
#include "argv/argv.h"

const struct argv_option slbt_uninstall_options[] = {
	{"help",	'h',TAG_UNINSTALL_HELP,ARGV_OPTARG_NONE,0,0,0,
			"display uninstall mode help"},

	{"version",	0,TAG_UNINSTALL_VERSION,ARGV_OPTARG_NONE,0,0,0,
			"display version information"},

	{"force",	'f',TAG_UNINSTALL_FORCE,ARGV_OPTARG_NONE,0,0,0,
			"force file removal"},

	{"dir",		'd',TAG_UNINSTALL_RMDIR,ARGV_OPTARG_NONE,0,0,0,
			"remove empty directories"},

	{"recursive",	'r',TAG_UNINSTALL_RECURSIVE,ARGV_OPTARG_NONE,0,0,0,
			"remove directories recursively; "
			"passing this argument to slibtool is forbidden"},

	{"verbose",	'v',TAG_UNINSTALL_VERBOSE,ARGV_OPTARG_NONE,0,0,0,
			"spray the terminal with colorful information"},

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