Skip to content

--store option: no properties accepted #613

@rsenden

Description

@rsenden

Current Behavior

The help output for the --store option shows the following:

image

However, when trying to pass any such properties, fcli throws an exception:

image

Expected Behavior

Either [=<propertyNames>] should be removed from the --store option description (to indicate that this option accepts only a variable name, not an optional set of properties), or fcli should properly accept an optional list of properties.

Quite likely, the functionality for specifying property names to be stored is already implemented, and it's just the validation not taking into account the possibility of such optional property names. If so, we could either update the regex, or even just keep the current regex but only pass the part before any = sign to the regex.

Steps To Reproduce

No response

Environment

fcli: 2.7.0 (but likely affects all 2.x versions)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions