aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-09-13 11:49:10 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-09-13 11:49:10 +0900
commit40d0550ad3f450ce8bb597b851a2db9721b7d6f6 (patch)
treecece1478f9a0230b0f0e8f2b9e8578c5e1cac567 /main.go
parentda6d238d8a15fa583b384b547decbddcda28ff8b (diff)
flag: move method flag from main
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/main.go b/main.go
index 85ac5a82..ebd5970b 100644
--- a/main.go
+++ b/main.go
@@ -16,7 +16,6 @@ import (
"git.ophivana.moe/cat/fortify/internal/app"
"git.ophivana.moe/cat/fortify/internal/state"
"git.ophivana.moe/cat/fortify/internal/system"
- "git.ophivana.moe/cat/fortify/internal/util"
"git.ophivana.moe/cat/fortify/internal/verbose"
)
@@ -31,15 +30,6 @@ var (
launchOptionText string
)
-func init() {
- methodHelpString := "Method of launching the child process, can be one of \"sudo\", \"bubblewrap\""
- if util.SdBootedV {
- methodHelpString += ", \"systemd\""
- }
-
- flag.StringVar(&launchOptionText, "method", "sudo", methodHelpString)
-}
-
func tryVersion() {
if printVersion {
fmt.Println(Version)