Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-390

alias --help auto completion is always added if word is empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.66.9
    • 0.66.8
    • main
    • None

      After change in WFCORE-1595 CLI can auto complete candidate rather than list candidates list.
      However, as new found in comment. If the --help is the only candidate in alias completion, pressing Tab will keep adding --help to complete. This because HELP.startWith(word) in AliasCompletion.java is always true even if word is a trimmed empty String.

              spederse@redhat.com Stale Pedersen
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: