From e605d49a6079a2852e60115d5003d243ec0cd51d Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 20 Jul 2022 23:26:16 -0400 Subject: Document new -P functionality --- docs/ldid.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/ldid.1') diff --git a/docs/ldid.1 b/docs/ldid.1 index 4034137..2f13068 100644 --- a/docs/ldid.1 +++ b/docs/ldid.1 @@ -22,7 +22,7 @@ .Op Fl I Ns Ar name .Op Fl K Ns Ar key.p12 Op Fl U Ns Ar password .Op Fl M -.Op Fl P +.Op Fl P Ns Op Ar num .Op Fl Q Ns Ar requirements .Op Fl q .Op Fl r | Fl S Ns Ar file.xml | Fl s @@ -106,8 +106,12 @@ When used with merge the new and existing entitlements instead of replacing the existing entitlements, this is useful for adding a few specific entitlements to a handful of binaries. -.It Fl P +.It Fl P Ns Op Ar num Mark the Mach-O as a platform binary. +If +.Ar num +is specified, the platform field in the CodeDirectory will be set to that number. +The default is 13, as per Apple binaries. .It Fl Q Ns Ar requirements.xml Embed the requirements found in .Ar requirements . -- cgit v1.2.3