Skip to content

Documentation lacks topics on escaping and option/value assignment operators #58

@ericnewton76

Description

@ericnewton76

Image Issue by xyzzer
Tuesday Jan 19, 2016 at 07:10 GMT
Originally opened as gsscoder/commandline#280


Hi,

Thanks for the library, it seems quite well thought out!

I've stumbled on two problems though:

  1. I first tried passing option values like this:

    myApp.exe -o:123

    This yielded option "o" value of ":123".
    I then found some text in the wiki that suggests you can just do -o123 or -o=123 or -o 123 which I'll have to play with. Are these the only options supported? Is there a way to configure a colon as an assignment operator?

  2. Then I stumbled on passing in paths that might have spaces in them. I'm still working on figuring it out, but I had some problem when first trying it with this syntax:

    myApp-exe -f"C:\My Folder\My File.txt"

It would help to explain these topics a bit better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions