This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(exit): add optional "exit" final arg to Parse()
Users of docopt.go should be able to handle their own return codes and os.Exit() processing. Calling the Parse() func with an extra last arg of "false" means docopt.go will not call os.Exit(). Additionally, the docopt_test.go suite was changed to call the exported Parse() func instead of the parse() implementation. Fixes docopt#7.
- Loading branch information