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

Fix issue 335 #353

Merged
merged 13 commits into from
Apr 3, 2018
Merged

Fix issue 335 #353

merged 13 commits into from
Apr 3, 2018

Conversation

MyXOF
Copy link
Collaborator

@MyXOF MyXOF commented Mar 20, 2018

close #335
close #334
close #337
close #355

options.addOption(host);

Option port = Option.builder(PORT_ARGS).argName(PORT_NAME).hasArg().desc("Port (required)").build();
Option port = Option.builder(PORT_ARGS).argName(PORT_NAME).hasArg().desc("Port (optional, default 6667)").build();
options.addOption(port);

Option username = Option.builder(USERNAME_ARGS).argName(USERNAME_NAME).hasArg().desc("User name (required)").build();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#355 这里应该加一个.required(),这样命令行就没有[ ]了。 @MyXOF

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改

@MyXOF MyXOF merged commit 30ae3a2 into master Apr 3, 2018
@Beyyes Beyyes deleted the fix_issue_335 branch April 14, 2018 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants