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

Add reference to the -help command when running without options #98

Closed
oleg-nenashev opened this issue May 27, 2020 · 1 comment · Fixed by #224
Closed

Add reference to the -help command when running without options #98

oleg-nenashev opened this issue May 27, 2020 · 1 comment · Fixed by #224
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@oleg-nenashev
Copy link
Member

The tool fails when running without options. It would be better to print a message about the -help command in such case.

onenashev@LAPTOP-25K65LOS:/c/Users/Oleg/Documents/jenkins/demo/demo-jenkins-config-as-code$ java -jar jenkins-plugin-manager-1.0.2.jar
No .txt or .yaml file containing list of plugins to be downloaded entered.
No directory to download plugins entered. Will use default of /usr/share/jenkins/ref/plugins
No CLI option or environment variable set for update center, using default of https://updates.jenkins.io/update-center.actual.json
No CLI option or environment variable set for experimental update center, using default of https://updates.jenkins.io/experimental/update-center.actual.json
No CLI option or environment variable set for incrementals mirror, using default of https://repo.jenkins-ci.org/incrementals
No war entered. Will use default of /usr/share/jenkins/jenkins.war
Unable to create plugin directory
@mikepain
Copy link

Hi @oleg-nenashev , so is the requirement that if there is one or more parameter missing, you just want one message displayed that tells the user to look at the help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants