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

Make lib install exit with 0 if library is already present #298

Merged
merged 2 commits into from
Jul 22, 2019

Conversation

masci
Copy link
Contributor

@masci masci commented Jul 22, 2019

At the moment, if you do lib install foo and foo is already installed, the CLI exits with an error.

This PR fixes the behaviour by exiting the process with 0 and printing the information that the library was already there.

Additional fixes:

  • consolidated the way we parse command line arguments by removing duplicated code

@mastrolinux mastrolinux merged commit 633e9ab into master Jul 22, 2019
@masci masci deleted the massi/lib-install branch July 23, 2019 06:36
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