aboutsummaryrefslogtreecommitdiff
path: root/git-annex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.hs')
-rw-r--r--git-annex.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-annex.hs b/git-annex.hs
index 417d335e1..1173ab913 100644
--- a/git-annex.hs
+++ b/git-annex.hs
@@ -19,5 +19,5 @@ main = do
args <- getArgs
gitrepo <- Git.repoFromCwd
state <- Annex.new gitrepo allBackends
- (configure, actions) <- parseCmd args state
- tryRun state $ [startup, upgrade] ++ configure ++ actions
+ (actions, state') <- Annex.run state $ parseCmd args
+ tryRun state' $ [startup, upgrade] ++ actions