Skip to content

sudo long flags not recognised #641

Open
@baltitenger

Description

@baltitenger

Long flags for sudo (e.g. --askpass or --preserve-env) are treated as commands, and highlighted for not existing. The plugin also seems to assume sudo [flags] [env] [command] [args...] order, but flags and env can be mixed. (e.g. in sudo -s foo=bar baz, it recogdies -s as a flag, foo=bar as an environment variable, and baz as a command. but in sudo foo=bar -s baz, foo=bar is recognised as env, -s as a command, and baz as an argument)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions