git-annex/Command/Untrust.hs

20 lines
413 B
Haskell
Raw Normal View History

2010-12-28 21:44:55 +00:00
{- git-annex command
-
- Copyright 2010 Joey Hess <id@joeyh.name>
2010-12-28 21:44:55 +00:00
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Command.Untrust where
import Command
2014-02-20 19:12:35 +00:00
import Types.TrustLevel
import Command.Trust (trustCommand)
2010-12-28 21:44:55 +00:00
cmd :: [Command]
cmd = [command "untrust" (paramRepeating paramRemote) seek
SectionSetup "do not trust a repository"]
seek :: CommandSeek
2014-02-20 19:12:35 +00:00
seek = trustCommand "untrust" UnTrusted