Skip to content

Commit d923aa4

Browse files
rderikaciidgh
authored andcommitted
Update comment for generateCompletionScript
The comment was outdated, the resource it pointed to as an example didn't exist anymore so it could create some confusion as to how to use the generateCompletionScript.
1 parent cce860c commit d923aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/TSCUtility/ArgumentParserShellCompletion.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ extension ArgumentParser {
1818
/// Generates part of a completion script for the given shell.
1919
///
2020
/// These aren't complete scripts, as some setup code is required. See
21-
/// `Utilities/bash/completions` and `Utilities/zsh/_swift` for example
22-
/// usage.
21+
/// `Sources/Commands/Completions+bash.swift` and
22+
/// `Sources/Commands/Completions+zsh.swift` for example usage.
2323
public func generateCompletionScript(for shell: Shell, on stream: OutputByteStream) {
2424
guard let commandName = commandName else { abort() }
2525
let name = "_\(commandName.replacingOccurrences(of: " ", with: "_"))"

0 commit comments

Comments
 (0)