diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-09-12 20:53:33 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-09-12 20:53:33 +0900 |
| commit | b0aff891661dfa2f438a7264607a4e6e9caef026 (patch) | |
| tree | 323ccc8c09fee45c29e8e1e79b320a4fe6dc8d77 /flag.go | |
| parent | 8223a9ee6637495c860aa3531f1db02e8c5bd819 (diff) | |
app: handle launch method in New function
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'flag.go')
| -rw-r--r-- | flag.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -2,8 +2,6 @@ package main import ( "flag" - - "git.ophivana.moe/cat/fortify/internal/app" ) var ( @@ -38,9 +36,6 @@ func init() { flag.BoolVar(&mustDBus, "dbus", false, "Proxy D-Bus connection") flag.BoolVar(&mustPulse, "pulse", false, "Share PulseAudio socket and cookie") - flag.BoolVar(&app.LaunchOptions[app.LaunchMethodSudo], "sudo", false, "Use 'sudo' to switch user") - flag.BoolVar(&app.LaunchOptions[app.LaunchMethodMachineCtl], "machinectl", true, "Use 'machinectl' to switch user") - flag.BoolVar(&flagVerbose, "v", false, "Verbose output") flag.BoolVar(&printVersion, "V", false, "Print version") } |
