From cf24382586cf439c28182e3d142617a9a1de6354 Mon Sep 17 00:00:00 2001 From: Euan Harris Date: Wed, 30 Apr 2025 14:53:38 +0100 Subject: [PATCH] docs: Correct help text for --username and --password --- .../Documentation.docc/build-container-image.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/swift-container-plugin/Documentation.docc/build-container-image.md b/Sources/swift-container-plugin/Documentation.docc/build-container-image.md index 66a5a9a..a28e449 100644 --- a/Sources/swift-container-plugin/Documentation.docc/build-container-image.md +++ b/Sources/swift-container-plugin/Documentation.docc/build-container-image.md @@ -34,16 +34,16 @@ Wrap a binary in a container image and publish it. If the `product` being packaged has a [resource bundle](https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package) it will be added to the image automatically. - term `--username `: - Username to use when logging into the registry. + Default username to use when logging into the registry. + This username is used if there is no matching `.netrc` entry for the registry, there is no `.netrc` file, or the `--disable-netrc` option is set. The same username is used for the source and destination registries. - The `.netrc` file is ignored when this option is specified. - term `--password `: - Password to use when logging into the registry. + Default password to use when logging into the registry. + This password is used if there is no matching `.netrc` entry for the registry, there is no `.netrc` file, or the `--disable-netrc` option is set. The same password is used for the source and destination registries. - The `.netrc` file is ignored when this option is specified. - term `-v, --verbose`: Verbose output.