Clean up using hlint and --pedantic
This commit is contained in:
parent
89248a34d1
commit
b524441d9c
7 changed files with 62 additions and 41 deletions
|
|
@ -10,7 +10,7 @@ import TaskMachine.LTask
|
|||
import TaskMachine.UI
|
||||
import TaskMachine.UI.Types
|
||||
|
||||
data Options = Options
|
||||
newtype Options = Options
|
||||
{ oTodofile :: FilePath
|
||||
} deriving (Show)
|
||||
|
||||
|
|
@ -24,11 +24,9 @@ opts = pure Options
|
|||
)
|
||||
|
||||
optsInfo :: O.ParserInfo Options
|
||||
optsInfo = O.info (opts <**> O.helper)
|
||||
( O.fullDesc
|
||||
optsInfo = O.info (opts <**> O.helper) O.fullDesc
|
||||
-- <> O.progDesc "program description"
|
||||
-- <> O.header "help header"
|
||||
)
|
||||
|
||||
main :: IO()
|
||||
main = do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue