mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 13:09:17 +00:00
add check_version config option
This commit is contained in:
@@ -20,7 +20,7 @@ from dotdrop.comparator import Comparator
|
||||
from dotdrop.importer import Importer
|
||||
from dotdrop.utils import get_tmpdir, removepath, \
|
||||
uniq_list, patch_ignores, dependencies_met, \
|
||||
adapt_workers
|
||||
adapt_workers, check_version
|
||||
from dotdrop.linktypes import LinkTypes
|
||||
from dotdrop.exceptions import YamlException, \
|
||||
UndefinedException, UnmetDependency
|
||||
@@ -829,6 +829,9 @@ def main():
|
||||
LOG.dbg('\n\n')
|
||||
options_time = time.time() - time0
|
||||
|
||||
if opts.check_version:
|
||||
check_version()
|
||||
|
||||
time0 = time.time()
|
||||
ret, command = _exec_command(opts)
|
||||
cmd_time = time.time() - time0
|
||||
|
||||
Reference in New Issue
Block a user