diff options
author | Jon Bernard <jbernard@tuxion.com> | 2013-06-24 08:22:54 -0400 |
---|---|---|
committer | Jon Bernard <jbernard@tuxion.com> | 2013-11-07 09:38:44 -0500 |
commit | 26c81ce0772efaaf3062baf8db258f7f6def8d98 (patch) | |
tree | efb5e392ea6ba34d59a22c5870108910158a2a58 | |
parent | 70c4ce33c98ae76fa04ac7e8bc772ec8f93a07dc (diff) | |
download | dotfiles-26c81ce0772efaaf3062baf8db258f7f6def8d98.tar.gz dotfiles-26c81ce0772efaaf3062baf8db258f7f6def8d98.tar.bz2 dotfiles-26c81ce0772efaaf3062baf8db258f7f6def8d98.zip |
Pass arguments to the sync command along
-rw-r--r-- | dotfiles/cli.py | 4 |
1 files changed, 1 insertions, 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.") |