From 6c6d93d4515ee574c1d8438ac61e05aaa9079e28 Mon Sep 17 00:00:00 2001 From: jszwedko Date: Mon, 23 Mar 2015 07:55:18 -0700 Subject: [PATCH] Names -> Aliases in README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3a183b1..4b3ddb0 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ Subcommands can be defined for a more git-like command line app. app.Commands = []cli.Command{ { Name: "add", - Names: []string{"a"}, + Aliases: []string{"a"}, Usage: "add a task to the list", Action: func(c *cli.Context) { println("added task: ", c.Args().First()) @@ -218,7 +218,7 @@ app.Commands = []cli.Command{ }, { Name: "complete", - Names: []string{"c"}, + Aliases: []string{"c"}, Usage: "complete a task on the list", Action: func(c *cli.Context) { println("completed task: ", c.Args().First()) @@ -226,7 +226,7 @@ app.Commands = []cli.Command{ }, { Name: "template", - Names: []string{"r"}, + Aliases: []string{"r"}, Usage: "options for task templates", Subcommands: []cli.Command{ { @@ -263,7 +263,7 @@ app.EnableBashCompletion = true app.Commands = []cli.Command{ { Name: "complete", - Names: []string{"c"}, + Aliases: []string{"c"}, Usage: "complete a task on the list", Action: func(c *cli.Context) { println("completed task: ", c.Args().First())