Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

completions: do not detect arguments with dash as 2nd char as flag #1817

Merged
merged 2 commits into from Jan 3, 2023

Commits on Jan 2, 2023

  1. completions: do not detect arguments with dash as 2nd char as flag

    Previously, arguments with a dash as the second character (e.g., 1-ff00:0:1)
    were detected as a flag by mistake. This resulted in auto completion misbehaving
    if such an argument was last in the argument list during invocation.
    
    Fixes spf13#1816
    oncilla committed Jan 2, 2023
    Copy the full SHA
    f3bcbcf View commit details
    Browse the repository at this point in the history
  2. add regression test

    oncilla committed Jan 2, 2023
    Copy the full SHA
    c234e16 View commit details
    Browse the repository at this point in the history