add show option

pull/60/merge
Henrique Dias 2016-08-28 10:29:05 +01:00
parent 3e9cb873b3
commit cf13ceeb60
1 changed files with 0 additions and 6 deletions

View File

@ -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() {