summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-19 05:49:27 +0000
committermidipix <writeonce@midipix.org>2025-06-19 05:49:27 +0000
commit339b39c87643eaf20adf0a1c3755906d52408754 (patch)
treeb4da15805b224243f5df7e0446fefb4ac926170b /src/internal
parentd0914542311cc7f8d14bb2113d802ae24a344eab (diff)
downloadperk-339b39c87643eaf20adf0a1c3755906d52408754.tar.bz2
perk-339b39c87643eaf20adf0a1c3755906d52408754.tar.xz
driver: added --cmd=strip support, pe_cmd_strip() stub, and perk-strip symlink.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/perk_driver_impl.h1
-rw-r--r--src/internal/perk_synopsis_impl.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index 453a032..44115c7 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -17,6 +17,7 @@ extern const struct argv_option pe_perk_options[];
extern const struct argv_option pe_ar_options[];
extern const struct argv_option pe_nm_options[];
extern const struct argv_option pe_size_options[];
+extern const struct argv_option pe_strip_options[];
enum app_tags {
TAG_HELP,
diff --git a/src/internal/perk_synopsis_impl.h b/src/internal/perk_synopsis_impl.h
index 921a1db..2806881 100644
--- a/src/internal/perk_synopsis_impl.h
+++ b/src/internal/perk_synopsis_impl.h
@@ -44,6 +44,19 @@
+#define PERK_STRIP_CMD_SYNOPSIS \
+ "%s — PE/COFF Fluff Removal Utility\n\n" \
+ "Synopsis:\n" \
+ " %s [-V] [-v] [-p] [-o output] <file> \n" \
+ " %s [-X] [-x] <file> ... \n" \
+ " %s [-s] [-g|-d|-S] <file> ... \n" \
+ " %s [-w] [-R secname] ... <file> ... \n" \
+ " %s [-w] [-K symname] ... <file> ... \n" \
+ " %s [-w] [-N symname] ... <file> ... \n\n" \
+ "Options:\n"
+
+
+
#define PERK_AR_CMD_SYNOPSIS \
"%s — the PE/COFF Resource Kit Archiver\n\n" \
"Synopsis:\n" \