on master help sign in
Show <arguments> in common commands
4cd20e2Evan Czaplicki
ui/terminal/src/Terminal/Args/Error.hs+2−2
@@ -200,7 +200,7 @@ exitWithOverview intro outro interfaces =
200
200
201
201
202toSummary :: String -> Interface -> Maybe P.Doc
202toSummary :: String -> Interface -> Maybe P.Doc
203−toSummary exeName (Interface name summary _ _ _ _) =
203+toSummary exeName (Interface name summary _ (Args (args:_)) _ _) =
204 case summary of
204 case summary of
205 Uncommon ->
205 Uncommon ->
206 Nothing
206 Nothing
@@ -208,7 +208,7 @@ toSummary exeName (Interface name summary _ _ _ _) =
208 Common summaryString ->
208 Common summaryString ->
209 Just $
209 Just $
210 P.vcat
210 P.vcat
211− [ P.dullcyan $ P.text $ exeName ++ " " ++ name
211+ [ P.dullcyan $ argsToDoc (exeName ++ " " ++ name) args
212 , P.indent 4 $ reflow summaryString
212 , P.indent 4 $ reflow summaryString
213 ]
213 ]
214
214