Skip to content

Old-style options support "=" assignment operator in complete builtin #8457

Closed

Description

@EmilyGraceSeville7cf

Fish version: 3.3.1-557-gb550b3885 (built from source)
OS version: Linux Mint 20.2 Cinnamon

When I define the following completion and write ./exe -first= option arguments are suggested:

complete --command exe --old-option first --arguments='1 2'

where exe - is a dummy empty program only to demonstrate the issue.

image

But man complete says:

Old style long options, like -Wall or -name. Old style long options can be more than one character long, are preceded by a single hyphen and may not be grouped together. Option arguments are specified in the following parameter (-ao null).

There is no notion about -old-option=value syntax support.

Activity

  1. added this to the fish 3.4.0 milestone on Nov 25, 2021
  2. added a commit that references this issue on Dec 12, 2021
  3. locked as resolved and limited conversation to collaborators on Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions