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 4273ad2 commit 41f5fe5Copy full SHA for 41f5fe5
Sources/ArgumentParser/Usage/UsageGenerator.swift
@@ -339,7 +339,7 @@ extension ErrorMessageGenerator {
339
}
340
switch possibilities.count {
341
case 0:
342
- return "Missing expected argument"
+ return "No value set for non-argument var \(key). Replace with a static variable, or let constant."
343
case 1:
344
return "Missing expected argument '\(possibilities.first!)'"
345
default:
0 commit comments