Merge pull request #107 from xilabao/add-user-supplied-func-when-parse

add user supplied function when parse()
diff --git a/README.md b/README.md
index 08ad945..93d6d77 100644
--- a/README.md
+++ b/README.md
@@ -106,9 +106,9 @@
 var ip = flag.IntP("flagname", "f", 1234, "help message")
 var flagvar bool
 func init() {
-    flag.BoolVarP("boolname", "b", true, "help message")
+	flag.BoolVarP(&flagvar, "boolname", "b", true, "help message")
 }
-flag.VarP(&flagVar, "varname", "v", 1234, "help message")
+flag.VarP(&flagVal, "varname", "v", "help message")
 ```
 
 Shorthand letters can be used with single dashes on the command line.