1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 15:28:59 +00:00

Fixed a typo in detail options.

fix error on dotdrop detail <key>.
This commit is contained in:
Marc Zonzon
2023-12-26 09:24:58 +01:00
committed by deadc0de
parent 2c462c3f36
commit 4965332387

View File

@@ -613,7 +613,7 @@ def cmd_detail(opts):
dotfiles = opts.dotfiles dotfiles = opts.dotfiles
if opts.detail_keys: if opts.detail_keys:
# filtered dotfiles to install # filtered dotfiles to install
uniq = uniq_list(opts.details_keys) uniq = uniq_list(opts.detail_keys)
dotfiles = [d for d in dotfiles if d.key in uniq] dotfiles = [d for d in dotfiles if d.key in uniq]
LOG.emph(f'dotfiles details for profile \"{opts.profile}\":\n') LOG.emph(f'dotfiles details for profile \"{opts.profile}\":\n')
for dotfile in dotfiles: for dotfile in dotfiles: