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

Parser doesn't clean command when child is garbage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.8
    • None
    • None
    • None

      Context, a command cmd with sub command foo.
      cmd garbage ==> Wrong input for group command
      cmd foo ==> Wrong input for group command
      As soon as some garbage has been typed, there is no way to escape the situation. The Parser doesn't clean the command so the exception is retrieved for each call.
      The only way to clear the state is to exit the process.

              spederse@redhat.com Stale Pedersen
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: