summaryrefslogtreecommitdiff
path: root/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'parse.go')
-rw-r--r--parse.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/parse.go b/parse.go
index 0bdddc7..c88faae 100644
--- a/parse.go
+++ b/parse.go
@@ -85,13 +85,6 @@ func MustParse(dest ...interface{}) *Parser {
// mustParse is a helper that facilitates testing
func mustParse(config Config, dest ...interface{}) *Parser {
- if config.Exit == nil {
- config.Exit = os.Exit
- }
- if config.Out == nil {
- config.Out = os.Stdout
- }
-
p, err := NewParser(config, dest...)
if err != nil {
fmt.Fprintln(config.Out, err)