The file matching options are now only accepted by commands that can actually use them.
This commit is contained in:
parent
52424dc382
commit
8066a1c3cc
24 changed files with 118 additions and 77 deletions
|
@ -55,7 +55,7 @@ noRepo a c = c { cmdnorepo = Just a }
|
|||
|
||||
{- Adds options to a command. -}
|
||||
withOptions :: [Option] -> Command -> Command
|
||||
withOptions o c = c { cmdoptions = o }
|
||||
withOptions o c = c { cmdoptions = cmdoptions c ++ o }
|
||||
|
||||
{- For start and perform stages to indicate what step to run next. -}
|
||||
next :: a -> Annex (Maybe a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue