Merge pull request #83 from zimmski/mention-double-dash

PassDoubleDash is required for completion
diff --git a/flags.go b/flags.go
index eb2012f..85f124d 100644
--- a/flags.go
+++ b/flags.go
@@ -226,6 +226,8 @@
 
     complete -F _completion_example completion-example
 
+Completion requires the parser option PassDoubleDash and is therefore enforced if the environment variable GO_FLAGS_COMPLETION is set.
+
 Customized completion for argument values is supported by implementing
 the flags.Completer interface for the argument value type. An example
 of a type which does so is the flags.Filename type, an alias of string
diff --git a/parser.go b/parser.go
index 2664f24..9156b5d 100644
--- a/parser.go
+++ b/parser.go
@@ -119,6 +119,8 @@
 
 	if len(os.Getenv("GO_FLAGS_COMPLETION")) != 0 {
 		p.AddCommand("__complete", "completion", "automatic flags completion", &completion{parser: p})
+
+		p.Options |= PassDoubleDash
 	}
 
 	return p