diff options
Diffstat (limited to 'git-annex.hs')
-rw-r--r-- | git-annex.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-annex.hs b/git-annex.hs index e14739195..cd67242af 100644 --- a/git-annex.hs +++ b/git-annex.hs @@ -12,10 +12,10 @@ import qualified GitRepo as Git main = do args <- getArgs - actions <- argvToActions args + (flags, actions) <- parseCmd args gitrepo <- Git.repoFromCwd state <- new gitrepo - tryRun state $ [setup] ++ actions ++ [shutdown] + tryRun state $ [startup flags] ++ actions ++ [shutdown] {- Runs a list of Annex actions. Catches exceptions, not stopping - if some error out, and propigates an overall error status at the end. |