Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate force flag when adding/removing file or URL #2

Open
tpet opened this issue Feb 11, 2020 · 1 comment
Open

Propagate force flag when adding/removing file or URL #2

tpet opened this issue Feb 11, 2020 · 1 comment

Comments

@tpet
Copy link

tpet commented Feb 11, 2020

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
Copy link
Owner

I'll take a look. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants