Other: Make all command line flags as const strings

This commit is contained in:
Alexander Bilyak
2021-01-08 20:42:27 +01:00
parent 6fd614595d
commit 56bce8e06f
3 changed files with 48 additions and 27 deletions

View File

@ -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"