Skip to content

Commit 4c6fd94

Browse files
authored
Update completion-list help string (#8052)
Follow on to #8045 to make the completion-list tool use the CaseIterable support in swift-argument-parser to automatically enumerate the options. `list-snippets` was missing from the list, and is now added.
1 parent c94df76 commit 4c6fd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Commands/PackageCommands/CompletionCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extension SwiftPackageCommand {
4949
@OptionGroup(visibility: .hidden)
5050
var globalOptions: GlobalOptions
5151

52-
@Argument(help: "generate-bash-script | generate-zsh-script |\ngenerate-fish-script | list-dependencies | list-executables")
52+
@Argument(help: "Type of completions to list")
5353
var mode: Mode
5454

5555
func run(_ swiftCommandState: SwiftCommandState) async throws {

0 commit comments

Comments
 (0)