Fix app instantiation in greeter example

This commit is contained in:
Jesse Patching 2013-07-22 08:47:45 -06:00
parent c3ce3a299d
commit feb04561b2

View File

@ -69,7 +69,7 @@ import "os"
import "github.com/codegangsta/cli"
func main() {
app = cli.NewApp()
app := cli.NewApp()
app.Name = "greet"
app.Usage = "fight the loneliness!"
app.Action = func(c *cli.Context) {