mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-05 01:34:42 +00:00
fix --force-actions in tests
This commit is contained in:
@@ -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 <path> 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['<key>']
|
||||
self.install_diff = not self.args['--nodiff']
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user