git-annex/Command/Semitrust.hs

20 lines
436 B
Haskell
Raw Normal View History

{- git-annex command
-
- Copyright 2010 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Command.Semitrust where
import Command
2014-02-20 19:12:35 +00:00
import Types.TrustLevel
import Command.Trust (trustCommand)
cmd :: [Command]
cmd = [command "semitrust" (paramRepeating paramRemote) seek
SectionSetup "return repository to default trust level"]
seek :: CommandSeek
2014-02-20 19:12:35 +00:00
seek = trustCommand "semitrust" SemiTrusted