Skip to content

Commit

Permalink
use double hyphenated longhand flags for apps
Browse files Browse the repository at this point in the history
  • Loading branch information
0pcom committed Dec 22, 2023
1 parent 0936163 commit 94ce565
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/visor/visorconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,14 @@ func makeDefaultLauncherAppsConfig(dnsServer string) []appserver.AppConfig {
Binary: VPNClientName,
AutoStart: false,
Port: routing.Port(skyenv.VPNClientPort),
Args: []string{"-dns", dnsServer},
Args: []string{"--dns", dnsServer},
},
{
Name: SkychatName,
Binary: SkychatName,
AutoStart: true,
Port: routing.Port(skyenv.SkychatPort),
Args: []string{"-addr", SkychatAddr},
Args: []string{"--addr", SkychatAddr},
},
{
Name: SkysocksName,
Expand All @@ -257,7 +257,7 @@ func makeDefaultLauncherAppsConfig(dnsServer string) []appserver.AppConfig {
Binary: SkysocksClientName,
AutoStart: false,
Port: routing.Port(skyenv.SkysocksClientPort),
Args: []string{"-addr", SkysocksClientAddr},
Args: []string{"--addr", SkysocksClientAddr},
},
{
Name: VPNServerName,
Expand Down

0 comments on commit 94ce565

Please sign in to comment.