Skip to content

Fields argument's comma-seperated list does not accept spaces #212

@skepppy

Description

@skepppy

When using rdump to only dump certain fields using the -F flag, the help messages states:

-F FIELDS, --fields FIELDS
Fields (comma seperated) to output in dumping (default: None)

Providing the list field_a, field_b, field_c does not yield the expected result, as only field_a is correctly parsed, but the other fields are not. This is maybe because the splitted elements are not stripped from spaces, resulting in the field field_b (with a space prepended to it), which is a field name that does not exist, resulting in rdump not finding the field.

Would it be good to strip the parsed fields from spaces or provide a text that explicitly mentions this in the help message of the relevant arguments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions