Merge pull request #1067 from tsubasaxZZZ/patch-3
Added & before cli flag
This commit is contained in:
commit
cc46cf9c34
@ -668,7 +668,7 @@ func main() {
|
|||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
|
|
||||||
app.Flags = []cli.Flag {
|
app.Flags = []cli.Flag {
|
||||||
cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "lang",
|
Name: "lang",
|
||||||
Value: "english",
|
Value: "english",
|
||||||
Usage: "language for the greeting",
|
Usage: "language for the greeting",
|
||||||
|
Loading…
Reference in New Issue
Block a user