hoodle 0.1.1.1 → 0.2
raw patch · 2 files changed
+16/−15 lines, 2 filesdep ~hoodle-core
Dependency ranges changed: hoodle-core
Files
- hoodle.cabal +4/−5
- lib/Hoodle/ProgType.hs +12/−10
hoodle.cabal view
@@ -1,5 +1,5 @@ Name: hoodle-Version: 0.1.1.1+Version: 0.2 Synopsis: Executable for hoodle Description: Hoodle is a pen notetaking program written in haskell. Homepage: http://ianwookim.org/hoodle@@ -24,7 +24,7 @@ Build-Depends: base>4, cmdargs >= 0.7, - hoodle-core == 0.9.0.0, + hoodle-core >= 0.9.999, hoodle Library@@ -39,12 +39,11 @@ cmdargs >= 0.7, configurator == 0.2.*, dyre >= 0.8.11, - hoodle-core == 0.9.0.0+ hoodle-core == 0.10 Exposed-Modules: Hoodle.ProgType Hoodle.Job Hoodle.Command Hoodle.StartUp- Other-Modules:+ Other-Modules: Paths_hoodle-
lib/Hoodle/ProgType.hs view
@@ -14,17 +14,18 @@ module Hoodle.ProgType where -import Data.Version+import Data.Version import System.Console.CmdArgs----import Paths_hoodle+-- +import Paths_hoodle + data Hoodle = Test { xojfile :: Maybe FilePath } deriving (Show,Data,Typeable) -programName :: String-programName = "Hoodle"+programName :: String +programName = "Hoodle" programVersion :: String programVersion = showVersion version @@ -33,9 +34,9 @@ programInfo = programName ++ " version " ++ programVersion programAbout :: String -programAbout = "A pen notetaking program written in haskell"+programAbout = "A pen notetaking program written in haskell" -programCopyright :: String+programCopyright :: String programCopyright = "(C) Ian-Woo Kim 2011-2013" test :: Hoodle@@ -45,11 +46,12 @@ mode :: Hoodle mode = modes [test] - &= versionArg [ explicit, name "version", name "V", summary programInfo]- &= summary (programInfo ++ ", " ++ programCopyright)- &= help programAbout + &= versionArg [ explicit, name "version", name "V", summary programInfo] + &= summary (programInfo ++ ", " ++ programCopyright) + &= help programAbout &= helpArg [explicit, name "help", name "h"] &= program programName +