Merge pull request #22 from taeram/master

Fix app instantiation in greeter example
This commit is contained in:
Jeremy Saenz 2013-07-22 07:50:14 -07:00
commit 30ef543888

View File

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