mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-24 02:46:44 +00:00
Other: Make all command line flags as const strings
This commit is contained in:
@ -49,7 +49,7 @@ func run(b *base.Base, c *cli.Context) error {
|
||||
var frontendMode string
|
||||
|
||||
switch {
|
||||
case c.Bool("cli"):
|
||||
case c.Bool(base.FlagCLI):
|
||||
frontendMode = "cli"
|
||||
default:
|
||||
frontendMode = "qt"
|
||||
|
||||
Reference in New Issue
Block a user