diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-05-31 16:20:55 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-05-31 16:49:28 -0400 |
commit | 75ae06595a6971eb21630928bcdd3f33c06b3ea0 (patch) | |
tree | 9bb64df745731601e451e092235715f22c2e9ad7 /Command/Fsck.hs | |
parent | c2f804b9b2d80af91bac1d0b074c664efcf8da97 (diff) |
support parsing options like --to=here
Reworked remote name parsing to allow things like that. Command.Move
uses it for --to=here, although there's not yet an implementation of
that option.
This commit was sponsored by Ignacio on Patreon.
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 8ebc433d1..3dfb45e55 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -62,7 +62,7 @@ data IncrementalOpt optParser :: CmdParamsDesc -> Parser FsckOptions optParser desc = FsckOptions <$> cmdParams desc - <*> optional (parseRemoteOption $ strOption + <*> optional (parseRemoteOption <$> strOption ( long "from" <> short 'f' <> metavar paramRemote <> help "check remote" <> completeRemotes |