diff --git a/dotdrop/options.py b/dotdrop/options.py index da3def8..8e69670 100644 --- a/dotdrop/options.py +++ b/dotdrop/options.py @@ -76,7 +76,7 @@ Options: -D --showdiff Show a diff before overwriting. -P --show-patch Provide a one-liner to manually patch template. -f --force Do not ask user confirmation for anything. - -a --force-action Execute all actions even if no dotfile is installed. + -a --force-actions Execute all actions even if no dotfile is installed. -k --key Treat as a dotfile key. -V --verbose Be verbose. -d --dry Dry run. @@ -211,7 +211,7 @@ class Options(AttrMonitor): # "listfiles" specifics self.listfiles_templateonly = self.args['--template'] # "install" specifics - self.install_force_action = self.args['--force-action'] + self.install_force_action = self.args['--force-actions'] self.install_temporary = self.args['--temp'] self.install_keys = self.args[''] self.install_diff = not self.args['--nodiff'] diff --git a/tests/helpers.py b/tests/helpers.py index 5ebc6c1..45ab61e 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -127,6 +127,7 @@ def _fake_args(): args['--key'] = False args['--ignore'] = [] args['--show-patch'] = False + args['--force-actions'] = False # cmds args['list'] = False args['listfiles'] = False