summaryrefslogtreecommitdiff
path: root/Options.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-09-20 23:24:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-09-20 23:24:48 -0400
commit9f6b7935ddb3d5dcbe0b4b784dc8acd7288ddba6 (patch)
tree8b87227689a603d09ad9fdfd010b2a3b648c1a2f /Options.hs
parent9d26192350b9c7b0402720f6f29c99c24748f364 (diff)
go go gadget hlint
Diffstat (limited to 'Options.hs')
-rw-r--r--Options.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Options.hs b/Options.hs
index eeb3639b4..b5eaf98cd 100644
--- a/Options.hs
+++ b/Options.hs
@@ -58,5 +58,5 @@ matcherOptions =
, shortopt ")" "close group of options"
]
where
- longopt o d = Option [] [o] (NoArg (addToken o)) d
- shortopt o d = Option o [] (NoArg (addToken o)) d
+ longopt o = Option [] [o] $ NoArg $ addToken o
+ shortopt o = Option o [] $ NoArg $ addToken o