Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions