aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-07-16 22:07:40 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-07-16 22:07:40 +0900
commit7e6eb82195c650bc34829e5cca2d2296e78c0707 (patch)
tree11f8b2d026c0f5c273a86dd0ebe79270319dd425 /cli.go
parent09507a541bb3ed6e19f2e61e332b9a6c1941d17a (diff)
license: embed license in executable
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'cli.go')
-rw-r--r--cli.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/cli.go b/cli.go
index 9a4d3a01..ca1b41b6 100644
--- a/cli.go
+++ b/cli.go
@@ -25,10 +25,9 @@ func init() {
}
func copyArgs() {
- if printVersion {
- fmt.Println(Version)
- os.Exit(0)
- }
+ tryLauncher()
+ tryVersion()
+ tryLicense()
command = flag.Args()