summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-01 15:04:47 +0000
committermidipix <writeonce@midipix.org>2024-01-22 03:49:50 +0000
commit11f3c72e2281a8ef511e2c0819f7042f343f4474 (patch)
tree8b64ab467fd2c3fdd190c932458f3f5d047451b8 /src/skin
parent62634282d8511970f0ccdcc41249e7a947134a42 (diff)
downloadslibtool-11f3c72e2281a8ef511e2c0819f7042f343f4474.tar.bz2
slibtool-11f3c72e2281a8ef511e2c0819f7042f343f4474.tar.xz
ar mode: initial driver integration and skeleton implementation.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/slbt_skin_ar.c9
-rw-r--r--src/skin/slbt_skin_default.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/src/skin/slbt_skin_ar.c b/src/skin/slbt_skin_ar.c
new file mode 100644
index 0000000..4376421
--- /dev/null
+++ b/src/skin/slbt_skin_ar.c
@@ -0,0 +1,9 @@
+#include "slibtool_ar_impl.h"
+#include "argv/argv.h"
+
+const struct argv_option slbt_ar_options[] = {
+ {"help", 'h',TAG_AR_HELP,ARGV_OPTARG_NONE,0,0,0,
+ "display ar mode help"},
+
+ {0,0,0,0,0,0,0,0}
+};
diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c
index 5c4d67d..9dd372e 100644
--- a/src/skin/slbt_skin_default.c
+++ b/src/skin/slbt_skin_default.c
@@ -19,7 +19,7 @@ const struct argv_option slbt_default_options[] = {
{"mode", 0,TAG_MODE,ARGV_OPTARG_REQUIRED,0,
"clean|compile|execute|finish"
- "|install|link|uninstall",0,
+ "|install|link|uninstall|ar",0,
"set the execution mode, where <mode> "
"is one of {%s}. of the above modes, "
"'finish' is not needed and is therefore "