Skip to content

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

@tpet

Description

@tpet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions