Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift help for package-registry doesn't work #7892

Open
1 task done
toffaletti opened this issue Aug 19, 2024 · 0 comments
Open
1 task done

swift help for package-registry doesn't work #7892

toffaletti opened this issue Aug 19, 2024 · 0 comments
Assignees
Labels

Comments

@toffaletti
Copy link

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

Running:

swift package-registry

Gives help output that ends with this:

See 'swift help package-registry <subcommand>' for detailed help.

Trying that ends in failure:

❯ swift help package-registry login
Error: The value 'package-registry' is invalid for '<topic>'
Help:  <topic>  The topic to display help for.
Usage: swift-help [<topic>] [<subtopics> ...] [-show-hidden]
  See 'swift-help --help' for more information.

Expected behavior

I expect to see the help messages for package-registry subcommands.

Actual behavior

I get an error.

Steps to reproduce

  1. swift help package-registry login

Swift Package Manager version/commit hash

swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-08-a

Swift & OS version (output of swift --version ; uname -a)

Apple Swift version 6.0-dev (LLVM a6451e53604cba0, Swift c7da857a4f9ed22)
Target: arm64-apple-macosx15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants