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

Commits on Jan 13, 2017

  1. Correct usage text

    Add -p necessary when specifying port parameter.
    Remove unneeded <options>.
    mikini committed Jan 13, 2017
    Configuration menu
    Copy the full SHA
    da7a948 View commit details
    Browse the repository at this point in the history
  2. Improve argument parsing

    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.
    mikini committed Jan 13, 2017
    Configuration menu
    Copy the full SHA
    d141726 View commit details
    Browse the repository at this point in the history