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

Show help to invoke uninstall without VERSION #120

Merged
merged 1 commit into from
Mar 27, 2016

Conversation

giginet
Copy link
Contributor

@giginet giginet commented Mar 27, 2016

Currently, we invoke uninstall command without any arguments. then following error is shown.

$ xcversion uninstall
[!] Version  is not installed.

This PR make it to show the help message in this situation.

$ xcversion uninstall
[!] A VERSION argument is required.

Usage:

    $ xcversion uninstall VERSION

      Uninstall a specific version of Xcode.

Options:

    --verbose   Show more debugging information
    --no-ansi   Show output without ANSI codes
    --help      Show help banner of specified command

@coveralls
Copy link

Coverage Status

Coverage increased (+1.3%) to 61.35% when pulling 108922d on giginet:uninstall-help into 4c7d27b on neonichu:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.9%) to 60.941% when pulling b15352e on giginet:uninstall-help into 4c7d27b on neonichu:master.

@neonichu
Copy link
Collaborator

Thanks for the contribution!

@neonichu neonichu merged commit 66b7cdc into xcpretty:master Mar 27, 2016
@giginet giginet deleted the uninstall-help branch March 27, 2016 14:11
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.

None yet

3 participants