mirror of
https://github.com/maputnik/editor.git
synced 2026-01-06 21:40:01 +00:00
fixed the error cannot use cli.StringFlag literal ...
This commit is contained in:
@@ -19,15 +19,15 @@ func main() {
|
||||
app.Version = "Editor: 1.6.1; Desktop: 1.0.4"
|
||||
|
||||
app.Flags = []cli.Flag{
|
||||
cli.StringFlag{
|
||||
&cli.StringFlag{
|
||||
Name: "file, f",
|
||||
Usage: "Allow access to JSON style from web client",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
&cli.BoolFlag{
|
||||
Name: "watch",
|
||||
Usage: "Notify web client about JSON style file changes",
|
||||
},
|
||||
cli.IntFlag{
|
||||
&cli.IntFlag{
|
||||
Name: "port",
|
||||
Value: 8000,
|
||||
Usage: "TCP port to listen on",
|
||||
|
||||
Reference in New Issue
Block a user