Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Support dest option for Options #2

Open
mattijs opened this issue Apr 3, 2012 · 0 comments
Open

Support dest option for Options #2

mattijs opened this issue Apr 3, 2012 · 0 comments

Comments

@mattijs
Copy link
Contributor

mattijs commented Apr 3, 2012

Support dest option for Option to define the name of the option when parsed:

var option = new Option("config", {
    "short": "-c",
    "dest": "conf"
});

Long options will be --config, short option will be -c but the value will appear as conf in the parsed options list.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant