Skip to content

Commit 2514371

Browse files
Add requested changes from code review
1 parent 451f32c commit 2514371

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ to the `--experimental-swift-sdk` option.
119119
## Common Generator Options
120120

121121
By default, on macOS hosts running on Apple Silicon, the Swift SDK Generator will create Swift SDKs
122-
for Ubuntu Jammy on aarch64, which matches the arch of the host. However, it is possible to change
122+
for Ubuntu Jammy on aarch64, which matches the CPU architecture of the host. However, it is possible to change
123123
the default target architecture by passing the `--target-arch` flag:
124124

125125
```bash
@@ -147,7 +147,7 @@ is included by *default*. This default behavior can be changed by passing `--no
147147
swift run swift-sdk-generator make-linux-sdk --no-host-toolchain --target-arch x86_64
148148
```
149149

150-
Or, if on Linux, and desiring to generate the Swift SDK with the host toolchain included, add `--host-toolchain`:
150+
To generate the Swift SDK on Linux with the host toolchain included, add `--host-toolchain`:
151151

152152
```bash
153153
swift run swift-sdk-generator make-linux-sdk --host-toolchain --target-arch aarch64

Sources/GeneratorCLI/GeneratorCLI.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ extension GeneratorCLI {
158158
var hostArch: Triple.Arch? = nil
159159
@Option(
160160
help: """
161-
The target arch of the bundle. The default depends on a recipe used for SDK generation.
162-
If this is passed, the target triple will default to `<target-arch>-unknown-linux-gnu`.
161+
The target arch of the bundle. The default depends on a recipe used for SDK generation. \
162+
If this is passed, the target triple will default to `<target-arch>-unknown-linux-gnu`. \
163163
Use the `--target` param to pass the full target triple if needed.
164164
"""
165165
)

0 commit comments

Comments
 (0)