Skip to content

Commit d7b994a

Browse files
committed
docs: update CLI docs
1 parent 28e40b3 commit d7b994a

File tree

3 files changed

+33
-18
lines changed

3 files changed

+33
-18
lines changed

www/docs/cli/ipsw/ent.md

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,38 @@ ipsw ent [flags]
4343

4444
# Search PostgreSQL database (Supabase)
4545
❯ ipsw ent --pg-host db.xyz.supabase.co --pg-user postgres --pg-password your-password --pg-database postgres --key sandbox
46+
47+
# Replace older iOS builds with newer ones
48+
❯ ipsw ent --sqlite entitlements.db --ipsw iPhone16,1_26.0_22G87_Restore.ipsw --replace
49+
50+
# Preview what would be replaced
51+
❯ ipsw ent --sqlite entitlements.db --ipsw iPhone16,1_26.0_22G87_Restore.ipsw --replace --dry-run
4652
```
4753

4854
### Options
4955

5056
```
51-
-f, --file string Search for file path pattern
52-
--file-only Only output file paths
53-
-h, --help help for ent
54-
--input stringArray Folders of MachOs to analyze
55-
--ipsw stringArray IPSWs to process
56-
-k, --key string Search for entitlement key pattern
57-
--limit int Limit number of results (default 100)
58-
--pg-database string PostgreSQL database name
59-
--pg-host string PostgreSQL host
60-
--pg-password string PostgreSQL password
61-
--pg-port string PostgreSQL port (default "5432")
62-
--pg-sslmode string PostgreSQL SSL mode (disable, require, verify-ca, verify-full) (default "require")
63-
--pg-user string PostgreSQL user
64-
--sqlite string Path to SQLite database
65-
--stats Show database statistics
66-
-v, --value string Search for entitlement value pattern
67-
--version string Filter by iOS version
57+
--dry-run Show what would be replaced without making changes
58+
-f, --file string Search for file path pattern
59+
--file-only Only output file paths
60+
-h, --help help for ent
61+
--input stringArray Folders of MachOs to analyze
62+
--ipsw stringArray IPSWs to process
63+
-k, --key string Search for entitlement key pattern
64+
--limit int Limit number of results (default 100)
65+
--pg-database string PostgreSQL database name
66+
--pg-host string PostgreSQL host
67+
--pg-password string PostgreSQL password
68+
--pg-poolmode string PostgreSQL pool mode (session, transaction, statement, or empty for no pooling)
69+
--pg-port string PostgreSQL port (default "5432")
70+
--pg-sslmode string PostgreSQL SSL mode (disable, require, verify-ca, verify-full) (default "require")
71+
--pg-user string PostgreSQL user
72+
--replace Replace older builds of the same iOS version with newer builds
73+
--replace-strategy string Replacement strategy: auto, prompt, force (default "auto")
74+
--sqlite string Path to SQLite database
75+
--stats Show database statistics
76+
-v, --value string Search for entitlement value pattern
77+
--version string Filter by iOS version
6878
```
6979

7080
### Options inherited from parent commands

www/docs/cli/ipsw/mount.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Mount DMG from IPSW
1111
Mount DMG from IPSW
1212

1313
```
14-
ipsw mount [fs|sys|app|exc] IPSW [flags]
14+
ipsw mount [fs|sys|app|exc|rdisk] IPSW [flags]
1515
```
1616

1717
### Examples
@@ -32,12 +32,16 @@ $ ipsw mount exc iPhone.ipsw --pem-db /path/to/pem.json
3232
# Mount to a custom mount point
3333
$ ipsw mount fs iPhone.ipsw --mount-point /mnt/ios-filesystem
3434

35+
# Mount a RestoreRamDisk by identity (defaults to the first if not specified)
36+
$ ipsw mount rdisk iPhone.ipsw --ident Erase
37+
3538
```
3639

3740
### Options
3841

3942
```
4043
-h, --help help for mount
44+
--ident string Identity Variant to select specific RestoreRamDisk (e.g. 'Erase', 'Upgrade', 'Recovery')
4145
-k, --key string DMG key
4246
--lookup Lookup DMG keys on theapplewiki.com
4347
-m, --mount-point string Custom mount point (default: /tmp/<dmg>.mount)

www/docs/cli/ipsw/ota/extract.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ipsw ota extract <OTA> [FILENAME]> [flags]
2121
-c, --cryptex string Extract cryptex as DMG (requires full OTA)
2222
-x, --decomp Decompress pbzx files
2323
-d, --dyld Extract dyld_shared_cache files
24+
-f, --flat Do NOT preserve directory structure when extracting
2425
-h, --help help for extract
2526
-k, --kernel Extract kernelcache
2627
-o, --output string Output folder

0 commit comments

Comments
 (0)