From 491cc16d53c897908244606bc0d77a6ace8c22a1 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Tue, 9 Jul 2024 15:39:40 +0900 Subject: cli: parse and resolve flags Copy all flags from upstream. The machinectl flag is dropped as it does nothing. the flag package is used to reduce complexity since we do not care about compatibility with upstream. Signed-off-by: Ophestra Umiker --- main.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go new file mode 100644 index 00000000..159d6d77 --- /dev/null +++ b/main.go @@ -0,0 +1,12 @@ +package main + +import ( + "flag" +) + +var Version = "impure" + +func main() { + flag.Parse() + copyArgs() +} -- cgit v1.3.1