aboutsummaryrefslogtreecommitdiffhomepage
path: root/license.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-11-04 23:08:29 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-11-05 00:07:36 +0900
commit714818c8aa1a26450cdfac0828d1a9528fdb95a4 (patch)
tree2eb55d76b5cd885d915ca19033cff514dcafd5f4 /license.go
parent69cc64ef56c4b46954514d7ef1b93b3861443255 (diff)
fortify: implement cleaner argument structure
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'license.go')
-rw-r--r--license.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/license.go b/license.go
deleted file mode 100644
index dbeede08..00000000
--- a/license.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package main
-
-import (
- _ "embed"
- "flag"
- "fmt"
-)
-
-var (
- //go:embed LICENSE
- license string
-
- printLicense bool
-)
-
-func init() {
- flag.BoolVar(&printLicense, "license", false, "Print license")
-}
-
-func tryLicense() {
- if printLicense {
- fmt.Println(license)
- os.Exit(0)
- }
-}