Skip to content

Commit

Permalink
docs: update CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jun 26, 2024
1 parent 1793356 commit f52bda0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions www/docs/cli/ipsw/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,31 @@ Diff IPSWs
ipsw diff <IPSW> <IPSW> [flags]
```

### Examples

```bash
# Diff two IPSWs
❯ ipsw diff <old.ipsw> <new.ipsw> --fw --launchd --output <output/folder> --markdown
# Diff two IPSWs with KDKs
❯ ipsw diff <old.ipsw> <new.ipsw> --output <output/folder> --markdown
--kdk /Library/Developer/KDKs/KDK_15.0_24A5264n.kdk/System/Library/Kernels/kernel.release.t6031
--kdk /Library/Developer/KDKs/KDK_15.0_24A5279h.kdk/System/Library/Kernels/kernel.release.t6031
# Use a previously saved .idiff file
❯ ipsw diff --in <path/to/.idiff> --output <output/folder> --markdown
```

### Options

```
-f, --filter strings Filter MachO sections to diff (e.g. __TEXT.__text)
--fw Diff other firmwares
-h, --help help for diff
--html Save diff as HTML file
-i, --in string Path to IPSW .idiff file
--json Save diff as JSON file
-k, --kdk stringArray Path to KDKs to diff
--launchd Diff launchd configs
-m, --markdown Save diff as Markdown file
-o, --output string Folder to save diff output
-t, --title string Title of the diff
```
Expand Down

0 comments on commit f52bda0

Please sign in to comment.