1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 16:49:17 +00:00

auto rename link_by_default to link_import_default for #110

This commit is contained in:
deadc0de6
2019-03-27 13:44:55 +01:00
parent 509a7c1848
commit f2a7f8ec9e
5 changed files with 24 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ Options:
-t --temp Install to a temporary directory for review.
-T --template Only template dotfiles.
-D --showdiff Show a diff before overwriting.
-l --inv-link Invert the value of "link_by_default" when importing.
-l --inv-link Invert "link_import_default" when importing.
-P --show-patch Provide a one-liner to manually patch template.
-f --force Do not warn if exists.
-k --key Treat <path> as a dotfile key.
@@ -177,7 +177,7 @@ class Options(AttrMonitor):
self.dry = self.args['--dry']
self.safe = not self.args['--force']
self.link = LinkTypes.NOLINK
if self.link_by_default:
if self.link_import_default:
self.link = LinkTypes.PARENT
if self.args['--inv-link']: