We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6f814 commit 846d1adCopy full SHA for 846d1ad
Sources/ArgumentParser/Completions/FishCompletionsGenerator.swift
@@ -37,7 +37,7 @@ extension FishCompletionsGenerator {
37
"\(prefix) \(suggestion)"
38
}
39
40
- let subcommandCompletions = subcommands.map { subcommand in
+ let subcommandCompletions: [String] = subcommands.map { subcommand in
41
let escapedAbstract = subcommand.configuration.abstract.fishEscape()
42
let suggestion = "-f -a '\(subcommand._commandName)' -d '\(escapedAbstract)'"
43
return complete(suggestion: suggestion)
0 commit comments