Skip to content

Commit 315155f

Browse files
authored
Fix incorrect link to swift doc and swift package-registry login command (#29096) (#29103)
1 parent 9a4d283 commit 315155f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/content/usage/packages/overview.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The following package managers are currently supported:
4242
| [PyPI](usage/packages/pypi.md) | Python | `pip`, `twine` |
4343
| [RPM](usage/packages/rpm.md) | - | `yum`, `dnf`, `zypper` |
4444
| [RubyGems](usage/packages/rubygems.md) | Ruby | `gem`, `Bundler` |
45-
| [Swift](usage/packages/rubygems.md) | Swift | `swift` |
45+
| [Swift](usage/packages/swift.md) | Swift | `swift` |
4646
| [Vagrant](usage/packages/vagrant.md) | - | `vagrant` |
4747

4848
**The following paragraphs only apply if Packages are not globally disabled!**

docs/content/usage/packages/swift.en-us.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ To work with the Swift package registry, you need to use [swift](https://www.swi
2626
To register the package registry and provide credentials, execute:
2727

2828
```shell
29-
swift package-registry set https://gitea.example.com/api/packages/{owner}/swift -login {username} -password {password}
29+
swift package-registry set https://gitea.example.com/api/packages/{owner}/swift
30+
swift package-registry login https://gitea.example.com/api/packages/{owner}/swift --username {username} --password {password}
3031
```
3132

3233
| Placeholder | Description |

0 commit comments

Comments
 (0)