Skip to content

Commit

Permalink
Fix help for default true bool flag's enable hint
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Oct 25, 2015
1 parent 4617847 commit b6c5233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Options/Applicative/Builder/Extra.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ enableDisableFlagsNoDefault' enabledValue disabledValue maybeHideValue name help
help
(concat $ concat
[ ["Disable ", helpSuffix]
, [" (--no-" ++ name ++ " to enable)" | hideEnabled]]) <>
, [" (--" ++ name ++ " to enable)" | hideEnabled]]) <>
mods) <|>
flag'
disabledValue
Expand Down

0 comments on commit b6c5233

Please sign in to comment.