hostman icon indicating copy to clipboard operation
hostman copied to clipboard

Propagate force flag when adding/removing file or URL

Open tpet opened this issue 5 years ago • 1 comments

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.

tpet avatar Feb 11 '20 19:02 tpet

I'll take a look. Thanks for reporting.

jonhadfield avatar Feb 13 '20 15:02 jonhadfield