trackit 0.3 → 0.4
raw patch · 2 files changed
+6/−3 lines, 2 files
Files
- src/Main.hs +3/−2
- trackit.cabal +3/−1
src/Main.hs view
@@ -36,15 +36,16 @@ , _watchTree :: Maybe FilePath <?> "Directory tree to watch for changes in (including sub-directories). Cannot be used together with '--watch-dir'." , _command :: Maybe String <?> "Command to run" , _maxLines :: Maybe Int <?> "Maximum number of lines to show (default: 400)"- , _stabilization :: Maybe Int <?> "Minimal time (milliseconds) between the any file event and command update (default: 200)"+ , _stabilization :: Maybe Int <?> "Minimal time (milliseconds) between any file event and the next command update (default: 200)" , _version :: Bool <?> "Print the version number" , _help :: Bool- , _debug :: Bool <?> "Show debug information the lower right corner"+ , _debug :: Bool <?> "Show debug information in the lower right corner" } deriving (Show, Generic) shortName :: String -> Maybe Char shortName "_watchDir" = Just 'd' shortName "_watchTree" = Just 't'+shortName "_debug" = Just 'g' shortName (_:c:_) = Just c shortName _ = Nothing
trackit.cabal view
@@ -1,5 +1,5 @@ name: trackit-version: 0.3+version: 0.4 synopsis: A command-line tool for live monitoring description: @trackit@ is a command-line tool that listens for changes in a user-supplied directory. Whenever there is a change,@@ -24,6 +24,8 @@ author: Emil Axelsson maintainer: 78emil@gmail.com copyright: 2018 Emil Axelsson+homepage: https://github.com/emilaxelsson/trackit+bug-reports: https://github.com/emilaxelsson/trackit/issues category: Development build-type: Simple cabal-version: >=1.10