git-annex/Types/Option.hs

18 lines
376 B
Haskell
Raw Normal View History

{- git-annex command options
-
- Copyright 2011 Joey Hess <joey@kitenet.net>
-
- 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 ())