Skip to content

whitespace at the end of an option in ~/.zonemaster/cli.args causes failure #429

@ondohotola

Description

@ondohotola

If you have an option such as for example

--no-ipv6 (with space at the end)

instead of

--no-ipv6 (without space at the end)

in the ~/.zonemaster/cli.args

you get the error

Unknown option: no-ipv6

Besides that the error message is unhelpful (as one can't see the trailing space) trailing whitespace should be removable on loading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-BugType: Bug in software or error in test case description

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions