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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.66.8
    • Fix Version/s: 0.66.9
    • Component/s: main
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stalep Stale Pedersen
                  Reporter:
                  soul2zimate Chao Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: