2012-01-06 02:48:59 +00:00
|
|
|
{- git-annex command options
|
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2011 Joey Hess <id@joeyh.name>
|
2012-01-06 02:48:59 +00:00
|
|
|
-
|
|
|
|
- Licensed under the GNU GPL version 3 or higher.
|
|
|
|
-}
|
|
|
|
|
|
|
|
module Types.Option where
|
|
|
|
|
|
|
|
import System.Console.GetOpt
|
|
|
|
|
|
|
|
import Annex
|
|
|
|
|
|
|
|
{- Each dashed command-line option results in generation of an action
|
|
|
|
- in the Annex monad that performs the necessary setting.
|
|
|
|
-}
|
|
|
|
type Option = OptDescr (Annex ())
|