Changes to handling of command line options. Fix a segmentation fault with owncloud --help. Add -h as help short. If a commandline argument isn't recognized, print that it isn't recognized, print help, and abort.
Merge pull request #284 from mjkent/854852959c95935efd8902f05d9935b04bb9f04c

Improve command line argument handling