on master help sign in
Put -- prefix in front of flag suggestions
790e0f3Evan Czaplicki
ui/terminal/src/Terminal/Args/Chomp.hs+1−1
@@ -440,7 +440,7 @@ suggestFlag unknownFlags flags targetIndex =
440
440
441 Chunk index _ : otherUnknownFlags ->
441 Chunk index _ : otherUnknownFlags ->
442 if index == targetIndex then
442 if index == targetIndex then
443− Just (return (getFlagNames flags []))
443+ Just (return (map ("--" ++) (getFlagNames flags [])))
444 else
444 else
445 suggestFlag otherUnknownFlags flags targetIndex
445 suggestFlag otherUnknownFlags flags targetIndex
446
446