summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-12 16:20:21 -0500
committermidipix <writeonce@midipix.org>2016-11-12 16:20:21 -0500
commit665ac36fa8328a852876551140cd9fc6c4c22b94 (patch)
tree32e9d8daeee46d87b6158c02f8417c21324c5019 /src/skin
parentb697ef4ed3024d0198d379fe73aede5669fab5de (diff)
downloadperk-665ac36fa8328a852876551140cd9fc6c4c22b94.tar.bz2
perk-665ac36fa8328a852876551140cd9fc6c4c22b94.tar.xz
driver: added --type support (print image type).
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/pe_skin_default.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/skin/pe_skin_default.c b/src/skin/pe_skin_default.c
index ad663e8..56fbd14 100644
--- a/src/skin/pe_skin_default.c
+++ b/src/skin/pe_skin_default.c
@@ -14,6 +14,9 @@ const struct argv_option pe_default_options[] = {
{"pretty", 'p',TAG_PRETTY,ARGV_OPTARG_REQUIRED,0,"yaml|dlltool",0,
"format output for parsing by %s"},
+ {"type", 't',TAG_IMGTYPE,ARGV_OPTARG_NONE,0,0,0,
+ "print image type"},
+
{"expsyms", 'e',TAG_EXPSYMS,ARGV_OPTARG_NONE,0,0,0,
"print exported symbols" },
@@ -23,5 +26,6 @@ const struct argv_option pe_default_options[] = {
{"impsyms", 'I',TAG_IMPSYMS,ARGV_OPTARG_NONE,0,0,0,
"list direct dependency libraries "
"along with required symbols"},
+
{0,0,0,0,0,0,0,0}
};