Skip to content

Commit

Permalink
Fix a non-total function definition warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Mar 19, 2008
1 parent 9ecda4e commit ded2668
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Distribution/Simple/Command.hs
Expand Up @@ -332,6 +332,7 @@ commandShowOptions command v = concat
Just s -> "--"++lf++"="++s
Nothing -> "--"++lf
| flag <- showflag x ]
showOptDescr x _ = error "Distribution.Simple.Command.showOptDescr: unreachable"


commandListOptions :: CommandUI flags -> [String]
Expand Down

0 comments on commit ded2668

Please sign in to comment.