From 40038b02ce651958ae703c8ecfe5f5578e1f7f09 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Sat, 26 Sep 2026 21:53:06 +0100 Subject: create adsbdecoder as UI, and renmae adsbdecoder to adsbdecodercli for terminal version --- ADSBStats/main.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ADSBStats') diff --git a/ADSBStats/main.swift b/ADSBStats/main.swift index d340e16..f541aa5 100644 --- a/ADSBStats/main.swift +++ b/ADSBStats/main.swift @@ -10,6 +10,7 @@ import ArgumentParser import RegexBuilder import SQLite3 import SwiftData +import ADSBDecoderFramework //decoder_debug_mode = false @@ -18,7 +19,7 @@ struct CommandLineArgs: ParsableCommand { @Flag(name: .shortAndLong) var debug:Bool = false @Flag(name: .shortAndLong) var version:Bool = false @Flag(name: .shortAndLong) var showstats:Bool = false - @Flag(name: .shortAndLong) var dbadd:Bool = false + @Flag(name: .long) var dbadd:Bool = false } let args = CommandLineArgs.parseOrExit() -- cgit v1.2.3