add show option
parent
3e9cb873b3
commit
cf13ceeb60
6
setup.go
6
setup.go
|
@ -128,12 +128,6 @@ func parse(c *caddy.Controller, root string) (*Config, *filemanager.FileManager,
|
|||
|
||||
cfg.Args = append(cfg.Args, "--"+values[0]+"="+value)
|
||||
default:
|
||||
if c.Val() == "show" {
|
||||
fmt.Println("Option 'show' is not allowed here.")
|
||||
c.NextArg()
|
||||
continue
|
||||
}
|
||||
|
||||
line := "\n\t" + c.Val()
|
||||
|
||||
if c.NextArg() {
|
||||
|
|
Loading…
Reference in New Issue