diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Fsck.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 9ca859d95..09a3a82c9 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -51,7 +51,7 @@ data FsckOptions = FsckOptions { fsckFiles :: CmdParams , fsckFromOption :: Maybe RemoteName , incrementalOpt :: Maybe IncrementalOpt - , keyOptions :: KeyOptions + , keyOptions :: Maybe KeyOptions } data IncrementalOpt @@ -67,7 +67,7 @@ optParser desc = FsckOptions <> help "check remote" )) <*> optional parseincremental - <*> parseKeyOptions False + <*> optional (parseKeyOptions False) where parseincremental = flag' StartIncrementalO |