Skip to content

Add a documentation section in the using guide about setting empty values in PowerShell using --someStringOption="" #4345

@martinlingstuyl

Description

@martinlingstuyl

As we've seen in the mentioned issue below, there is an issue in PowerShell when setting options to empty values.
The problem is that PowerShell does not pass an empty string argument to the CLI, which results in the option being evaluated as a flag.

--description "" would result in description: true.

The workaround

Using --description="" takes care of passing the empty string arg correctly to the CLI.

This issue is fixed when the documentation is expanded with a section explaining how to do this. Just like this section

Originally posted by @martinlingstuyl in #3718 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions