Skip to content

Commit 0100f8d

Browse files
authored
Merge pull request #1299 from bitjammer/acgarland/rdar-104603198-remove-package-collection-registry-help
Remove `package-collection` and `package-registry` from top-level command help
2 parents 3098649 + 78a6c66 commit 0100f8d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/swift-help/main.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,14 @@ enum HelpTopic: ExpressibleByArgument, CustomStringConvertible {
4747
}
4848

4949
enum Subcommand: String, CaseIterable {
50-
case build, package, packageRegistry = "package-registry", packageCollection = "package-collection", run, test
50+
case build, package, run, test
5151

5252
var description: String {
5353
switch self {
5454
case .build:
5555
return "Build Swift packages"
5656
case .package:
5757
return "Create and work on packages"
58-
case .packageRegistry:
59-
return "Interact with package registry and manage related configuration"
60-
case .packageCollection:
61-
return "Interact with package collections"
6258
case .run:
6359
return "Run a program from a package"
6460
case .test:

0 commit comments

Comments
 (0)