summaryrefslogtreecommitdiffhomepage
path: root/src/skin/slbt_skin_uninstall.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-24 17:53:54 -0400
committermidipix <writeonce@midipix.org>2016-09-24 19:47:58 -0400
commit0fb20a657d44f0afd5f1feed096cfe434fb6b56f (patch)
tree14dd4fffaf77a6cbfff7182f64dcf32f43b8669b /src/skin/slbt_skin_uninstall.c
parentd6e753a79665a44edb2832cb33793914ca549d44 (diff)
downloadslibtool-0fb20a657d44f0afd5f1feed096cfe434fb6b56f.tar.bz2
slibtool-0fb20a657d44f0afd5f1feed096cfe434fb6b56f.tar.xz
uninstall mode: initial implementation.
Diffstat (limited to 'src/skin/slbt_skin_uninstall.c')
-rw-r--r--src/skin/slbt_skin_uninstall.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/skin/slbt_skin_uninstall.c b/src/skin/slbt_skin_uninstall.c
new file mode 100644
index 0000000..e34c81e
--- /dev/null
+++ b/src/skin/slbt_skin_uninstall.c
@@ -0,0 +1,25 @@
+#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}
+};