aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apps/UnsetEnv.hs
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-08-20 17:55:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-08-20 17:55:37 +0300
commitfc5ed9ff90979c077fad5cc6b6f06c6487667777 (patch)
treecf33fe64ee0ce4b7dc6a10c5eebf1f9ce270c5f4 /apps/UnsetEnv.hs
parentfix HLint warnings (diff)
downloadwindows-env-fc5ed9ff90979c077fad5cc6b6f06c6487667777.tar.gz
windows-env-fc5ed9ff90979c077fad5cc6b6f06c6487667777.zip
code style
Diffstat (limited to '')
-rw-r--r--apps/UnsetEnv.hs18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/UnsetEnv.hs b/apps/UnsetEnv.hs
index e08c95a..4fd6ccb 100644
--- a/apps/UnsetEnv.hs
+++ b/apps/UnsetEnv.hs
@@ -26,15 +26,15 @@ optionParser = Options
<*> optGlobalDesc
<*> optNameDesc
where
- optYesDesc = switch $
- long "yes" <> short 'y' <>
- help "Skip confirmation prompt"
- optGlobalDesc = switch $
- long "global" <> short 'g' <>
- help "Unset for all users"
- optNameDesc = argument str $
- metavar "NAME" <>
- help "Variable name"
+ optYesDesc = switch
+ $ long "yes" <> short 'y'
+ <> help "Skip confirmation prompt"
+ optGlobalDesc = switch
+ $ long "global" <> short 'g'
+ <> help "Unset for all users"
+ optNameDesc = argument str
+ $ metavar "NAME"
+ <> help "Variable name"
main :: IO ()
main = execParser parser >>= unsetEnv