From 26c81ce0772efaaf3062baf8db258f7f6def8d98 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Mon, 24 Jun 2013 08:22:54 -0400 Subject: Pass arguments to the sync command along --- dotfiles/cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dotfiles/cli.py b/dotfiles/cli.py index 3726e0d..c0984d6 100644 --- a/dotfiles/cli.py +++ b/dotfiles/cli.py @@ -177,10 +177,8 @@ def parse_config(config_file): def dispatch(dotfiles, action, force, args): if action in ['list', 'check']: getattr(dotfiles, action)() - elif action in ['add', 'remove']: + elif action in ['add', 'remove', 'sync']: getattr(dotfiles, action)(args) - elif action == 'sync': - dotfiles.sync(force) elif action == 'move': if len(args) > 1: print("Error: Move cannot handle multiple targets.") -- cgit v1.2.3