From 7e6eb82195c650bc34829e5cca2d2296e78c0707 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Tue, 16 Jul 2024 22:07:40 +0900 Subject: license: embed license in executable Signed-off-by: Ophestra Umiker --- cli.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cli.go') 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() -- cgit v1.3.1