summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-18 18:43:14 +0000
committermidipix <writeonce@midipix.org>2025-06-18 18:43:14 +0000
commit64f8b0ec3a2f1529157009e7abdf0131cbc61f92 (patch)
treee0c4f72ff30dec7f670dd6b6da648eabba68d4c4 /src/internal
parentd63dd27035006aa179176fe10d78486044c0dba0 (diff)
downloadperk-64f8b0ec3a2f1529157009e7abdf0131cbc61f92.tar.bz2
perk-64f8b0ec3a2f1529157009e7abdf0131cbc61f92.tar.xz
driver: added --cmd=size support, pe_cmd_size() stub, and perk-size symlink.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/perk_driver_impl.h1
-rw-r--r--src/internal/perk_synopsis_impl.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index 368fb7f..453a032 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -16,6 +16,7 @@ extern const struct argv_option pe_default_options[];
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[];
enum app_tags {
TAG_HELP,
diff --git a/src/internal/perk_synopsis_impl.h b/src/internal/perk_synopsis_impl.h
index b1d59a8..32c5aec 100644
--- a/src/internal/perk_synopsis_impl.h
+++ b/src/internal/perk_synopsis_impl.h
@@ -28,6 +28,12 @@
" %s [-V] [-APv] [-efox] [-g|-u] [-t format] <file> ...\n\n" \
"Options:\n"
+#define PERK_SIZE_CMD_SYNOPSIS \
+ "%s — PE/COFF Section Size Information\n\n" \
+ "Synopsis:\n" \
+ " %s [-V] [-A|-B|-G] [-d|-o|-x] [-t] [-f] <file> ...\n\n" \
+ "Options:\n"
+
#define PERK_AR_CMD_SYNOPSIS \
"%s — the PE/COFF Resource Kit Archiver\n\n" \
"Synopsis:\n" \