aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/AddPath.hs4
-rw-r--r--apps/ListPath.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/AddPath.hs b/apps/AddPath.hs
index da68009..93ea212 100644
--- a/apps/AddPath.hs
+++ b/apps/AddPath.hs
@@ -40,8 +40,8 @@ optionParser = Options
optGlobalDesc = switch
$ long "global" <> short 'g'
<> help "Add for all users"
- optPathsDesc = many
- $ argument str $ metavar "PATH"
+ optPathsDesc = many $ argument str
+ $ metavar "PATH"
<> help "Directories to add"
main :: IO ()
diff --git a/apps/ListPath.hs b/apps/ListPath.hs
index 6432455..6bb8a46 100644
--- a/apps/ListPath.hs
+++ b/apps/ListPath.hs
@@ -23,7 +23,7 @@ shouldListPath ExistingOnly = doesDirectoryExist
shouldListPath MissingOnly = fmap not . doesDirectoryExist
data Options = Options
- { optName :: Env.VarName
+ { optName :: Env.VarName
, optWhichPaths :: WhichPaths
} deriving (Eq, Show)