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 1 commit into from Sep 11, 2014


Copy link

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

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

This comment has been minimized.

Copy link

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
None yet
1 participant
You can’t perform that action at this time.