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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: