(main): Sychronize with new getopt_long interface, and take advantage of interleaving feature to make the main loop simpler and more correct.  Exit on option-parsing error.  This will have to change again assuming my advocated apr_longopt_t -> apr_getopt_option_t rename happens, but that will be trivial.
(main): Sychronize with new getopt_long interface, and take advantage
of interleaving feature to make the main loop simpler and more
correct.  Exit on option-parsing error.  This will have to change
again assuming my advocated apr_longopt_t -> apr_getopt_option_t
rename happens, but that will be trivial.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@838114 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion