diff options
Diffstat (limited to 'CmdLine/GitAnnex/Options.hs')
-rw-r--r-- | CmdLine/GitAnnex/Options.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CmdLine/GitAnnex/Options.hs b/CmdLine/GitAnnex/Options.hs index 143bb6498..2a6dc0ef9 100644 --- a/CmdLine/GitAnnex/Options.hs +++ b/CmdLine/GitAnnex/Options.hs @@ -1,6 +1,7 @@ {- git-annex command-line option parsing - - Copyright 2010-2018 Joey Hess <id@joeyh.name> + - Copyright 2022 Benjamin Barenblat <bbarenblat@gmail.com> - - Licensed under the GNU GPL version 3 or higher. -} @@ -182,7 +183,7 @@ parseAllOption = flag' WantAllKeys <> help "operate on all versions of all files" ) -parseKey :: Monad m => String -> m Key +parseKey :: MonadFail m => String -> m Key parseKey = maybe (fail "invalid key") return . file2key -- Options to match properties of annexed files. |