Skip to content

[BUG] redis-cli's tip mishandles optional command arguments #8084

@itamarhaber

Description

@itamarhaber

Describe the bug

When using the cli's hints, optional arguments (e.g. [arg]) are always shown, but not hidden if used.

To reproduce

Fire up the cli and start typing a command with optional arguments (e.g. SET)

Expected behavior

cli tips should hide an optional argument once used.

Additional information

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:help-wantedNo member is currently implementing this change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions