TUN-4094: Don't read configuration file for access commands

This commit is contained in:
Igor Postelnik
2021-03-16 17:36:46 -05:00
parent 8c5498fad1
commit a34099724e
12 changed files with 35 additions and 44 deletions

View File

@@ -17,9 +17,9 @@ import (
func Command(hidden bool) *cli.Command {
return &cli.Command{
Name: "proxy-dns",
Action: cliutil.Action(Run),
Action: cliutil.ConfiguredAction(Run),
Usage: "Run a DNS over HTTPS proxy server.",
Usage: "Run a DNS over HTTPS proxy server.",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "metrics",
@@ -112,5 +112,3 @@ func Run(c *cli.Context) error {
}
return err
}