Add printing of Getopt.Error message
Add return statements at end of functions