summaryrefslogtreecommitdiff
path: root/Command/Fsck.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-09 10:41:17 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-09 10:42:28 -0400
commit98769639f3fc88a8dbe497180145536caf51df5c (patch)
tree9c488f3ebb8584d5f09df34774ec55448a07da39 /Command/Fsck.hs
parent2fe6252a14ffa7f8dc385c95da901fc64bdc1b6f (diff)
formatting
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r--Command/Fsck.hs13
1 files changed, 4 insertions, 9 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs
index 885ce17dd..5350a63eb 100644
--- a/Command/Fsck.hs
+++ b/Command/Fsck.hs
@@ -60,24 +60,19 @@ optParser :: CmdParamsDesc -> Parser FsckOptions
optParser desc = FsckOptions
<$> cmdParams desc
<*> optional (strOption
- ( long "from"
- <> short 'f'
- <> metavar paramRemote
+ ( long "from" <> short 'f' <> metavar paramRemote
<> help "check remote"
))
<*> switch
- ( long "incremental"
- <> short 'S'
+ ( long "incremental" <> short 'S'
<> help "start an incremental fsck"
)
<*> switch
- ( long "more"
- <> short 'm'
+ ( long "more" <> short 'm'
<> help "continue an incremental fsck"
)
<*> optional (option (str >>= parseDuration)
- ( long "incremental-schedule"
- <> metavar paramTime
+ ( long "incremental-schedule" <> metavar paramTime
<> help "schedule incremental fscking"
))
<*> parseKeyOptions False