ad43f03626
Finally commands can define their own options. Moved --format and --print0 to be options only of find.
17 lines
376 B
Haskell
17 lines
376 B
Haskell
{- 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 ())
|