git-annex/Command/Untrust.hs
Joey Hess 70d2ece381
improve usage
These commands operate on not only remotes, but any way a repository can
be specified, including "here" etc.

Sponsored-by: Graham Spencer on Patreon
2022-10-03 13:49:42 -04:00

19 lines
440 B
Haskell

{- git-annex command
-
- Copyright 2010 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU AGPL version 3 or higher.
-}
module Command.Untrust where
import Command
import Types.TrustLevel
import Command.Trust (trustCommand)
cmd :: Command
cmd = command "untrust" SectionSetup "do not trust a repository"
(paramRepeating paramRepository) (withParams seek)
seek :: CmdParams -> CommandSeek
seek = trustCommand "untrust" UnTrusted