Learn more about cloning repositories
You have read-only access
getopt on Mac OS 10.8 doesn't assign 0 to optopt even if the command-line arguments are right. So add a flag to check the values to by-pass this issue.