Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orders usage message with -shortname, --longname #13

Merged
merged 1 commit into from Sep 11, 2014
Merged

Conversation

@geek
Copy link
Member

geek commented Sep 11, 2014

Closes #11

@geek geek added feature bug and removed feature labels Sep 11, 2014
@geek geek added this to the 1.0.0 milestone Sep 11, 2014
@geek geek self-assigned this Sep 11, 2014
geek added a commit that referenced this pull request Sep 11, 2014
Orders usage message with -shortname, --longname
@geek geek merged commit 70aad05 into hapijs:master Sep 11, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details

var formattedName = ' -' + shortName;
if (longName) {
var aliases = [].concat(longName);

This comment has been minimized.

Copy link
@geek

geek Sep 11, 2014

Author Member

def.alias can be an array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.