Skip to content

Invoking swift package with no options should show help #371

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

Merged
merged 1 commit into from
May 26, 2016

Conversation

abertelrud
Copy link
Contributor

@abertelrud abertelrud commented May 26, 2016

Invoking the swift package command without any options currently prints an error message saying there are no commands, followed by a pair of square brackets, followed by a line saying to pass --help to get help.

It should just print the help.

swift package now prints the usage if no arguments at all are given,
and only prints the "no command given" if any non-command arguments
were given.
@abertelrud abertelrud closed this May 26, 2016
@abertelrud abertelrud changed the title Update the documentation to reflect the new commands and options Invoking swift package with no options should show help May 26, 2016
@abertelrud abertelrud reopened this May 26, 2016
@ddunbar
Copy link
Contributor

ddunbar commented May 26, 2016

LGTM

@abertelrud abertelrud merged commit 7aca33a into swiftlang:master May 26, 2016
abertelrud added a commit that referenced this pull request May 26, 2016
Invoking `swift package` with no options should show help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants