From 343c7340b8b685fa57017a34d7626b3deb0021cc Mon Sep 17 00:00:00 2001 From: cwen-coder <172569856@qq.com> Date: Wed, 27 Jul 2016 02:10:54 +0000 Subject: [PATCH] modify README an error --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 615e95dad8..1361a7a22a 100644 --- a/README.md +++ b/README.md @@ -549,7 +549,7 @@ Here is a more complete sample of a command using YAML support: "output": "--test value.*default: 0" } --> ``` go -package notmain +package main import ( "fmt" @@ -843,7 +843,7 @@ func main() { ### Generated Help Text -The default help flag (`-h/--help`) is defined as `cli.HelpFlag` and is checked +The default help flag (`-h/--help`) is defined as `cli.HelpFlag` and is checked by the cli internals in order to print generated help text for the app, command, or subcommand, and break execution.