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

Improve argument handling and related messages #39

Merged
merged 2 commits into from
Mar 24, 2017

Conversation

mikini
Copy link
Contributor

@mikini mikini commented Jan 13, 2017

As suggested in #38.

Add -p necessary when specifying port parameter.
Remove unneeded <options>.
Handle special getopt() return values to write message, usage and exit;
 if option is not recognised (?)
 if required argument to option is missing (:)
Write message, usage and exit if getopt() encounters a non-option argument.
Write message when exiting because of missing layout file.
Add h option that writes usage and exits.
@zestyping
Copy link
Owner

Thanks for this fix!

@zestyping zestyping merged commit efc7d53 into zestyping:master Mar 24, 2017
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