git-annex/Command/Indirect.hs

22 lines
455 B
Haskell
Raw Normal View History

2012-12-13 19:44:56 +00:00
{- git-annex command
-
- Copyright 2012 Joey Hess <id@joeyh.name>
2012-12-13 19:44:56 +00:00
-
- Licensed under the GNU AGPL version 3 or higher.
2012-12-13 19:44:56 +00:00
-}
module Command.Indirect where
import Command
cmd :: Command
cmd = notBareRepo $ noDaemonRunning $
command "indirect" SectionSetup "switch repository to indirect mode (deprecated)"
paramNothing (withParams seek)
2012-12-13 19:44:56 +00:00
seek :: CmdParams -> CommandSeek
seek = withNothing (commandAction start)
2012-12-13 19:44:56 +00:00
start :: CommandStart
start = stop