Fix #671: updatekeys
checks for config file flag
#672
Merged
updatekeys
checks for config file flag
#672