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

Handling of space characters in option values

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 0.24
    • 0.22
    • main
    • None

    Description

      Using spaces in option values can have unexpected effects when parsed with CommandLineParser, for example;

      --name joe bloggs

      Correctly gives a value for the name option of "joe". However;

      --name joe\ bloggs

      Gives the value "joe\ bloggs" - I would expect it to give the value "joe bloggs". Furthermore;

      --name 'joe bloggs'

      Gives a value of "'joe", and similarly;

      --name "joe bloggs" gives a value of ""joe"

      Attachments

        Activity

          People

            spederse@redhat.com Stale Pedersen
            curlydrew andrew hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: