aboutsummaryrefslogtreecommitdiff
path: root/Command
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
parent2fe6252a14ffa7f8dc385c95da901fc64bdc1b6f (diff)
formatting
Diffstat (limited to 'Command')
-rw-r--r--Command/Drop.hs6
-rw-r--r--Command/Fsck.hs13
2 files changed, 6 insertions, 13 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs
index e246af342..3f4ea1a9d 100644
--- a/Command/Drop.hs
+++ b/Command/Drop.hs
@@ -47,10 +47,8 @@ optParser desc = DropOptions
parseDropFromOption :: Parser (Maybe RemoteName)
parseDropFromOption = optional $ strOption
- ( long "from"
- <> short 'f'
- <> metavar paramRemote
- <> help "drop content from a remote"
+ ( long "from" <> short 'f' <> metavar paramRemote
+ <> help "drop content from a remote"
)
seek :: DropOptions -> CommandSeek
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