mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
add show option
This commit is contained in:
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)
|
cfg.Args = append(cfg.Args, "--"+values[0]+"="+value)
|
||||||
default:
|
default:
|
||||||
if c.Val() == "show" {
|
|
||||||
fmt.Println("Option 'show' is not allowed here.")
|
|
||||||
c.NextArg()
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
line := "\n\t" + c.Val()
|
line := "\n\t" + c.Val()
|
||||||
|
|
||||||
if c.NextArg() {
|
if c.NextArg() {
|
||||||
|
Loading…
Reference in New Issue
Block a user