diff options
| author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2026-09-26 21:53:06 +0100 |
|---|---|---|
| committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2026-09-26 21:53:06 +0100 |
| commit | 40038b02ce651958ae703c8ecfe5f5578e1f7f09 (patch) | |
| tree | f6bc782c1b1d1a21073e5d40e4136d887f6fa4cd /ADSBStats | |
| parent | 505b23afc68ecbb63b8f0a7d44c0b0ad063d5cfd (diff) | |
| download | ADSBDecoder-40038b02ce651958ae703c8ecfe5f5578e1f7f09.tar.gz ADSBDecoder-40038b02ce651958ae703c8ecfe5f5578e1f7f09.zip | |
create adsbdecoder as UI, and renmae adsbdecoder to adsbdecodercli for terminal version
Diffstat (limited to 'ADSBStats')
| -rw-r--r-- | ADSBStats/main.swift | 3 |
1 files changed, 2 insertions, 1 deletions
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() |
