Add syncer overrides to config cli handler

This commit is contained in:
lash 2022-04-25 06:08:33 +00:00
parent 92f675baf5
commit d53e5577d7
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -57,6 +57,9 @@ class Config(BaseConfig):
if local_arg_flags & CICFlag.SYNCER: if local_arg_flags & CICFlag.SYNCER:
local_args_override['SYNCER_OFFSET'] = getattr(args, 'offset') local_args_override['SYNCER_OFFSET'] = getattr(args, 'offset')
local_args_override['SYNCER_NO_HISTORY'] = getattr(args, 'no_history') local_args_override['SYNCER_NO_HISTORY'] = getattr(args, 'no_history')
local_args_override['SYNCER_BACKEND'] = getattr(args, 'backend')
local_args_override['SYNCER_SESSION_ID'] = getattr(args, 'session_id')
config.dict_override(local_args_override, 'local cli args') config.dict_override(local_args_override, 'local cli args')