Propagate force flag when adding/removing file or URL
Opened this issue · 1 comments
tpet commented
When importing from file, the '--force' flag is not propagated and the conflicting records are not updated:
sudo add -f -i hosts.txt
The remove command using file input also seems not to work, e.g. sudo remove -f -i hosts.txt
does not remove previously added records.
It seems that it will need some changes to https://github.com/jonhadfield/python-hosts.
jonhadfield commented
I'll take a look. Thanks for reporting.