mirror of
https://gitea.farpn.net/w1cdn/mwtchahrd.git
synced 2025-11-24 22:56:35 -06:00
Snapshot.
This commit is contained in:
@@ -87,6 +87,10 @@ struct Cli {
|
|||||||
#[arg(short = 'x', long, allow_negative_numbers = true)]
|
#[arg(short = 'x', long, allow_negative_numbers = true)]
|
||||||
my_lon: Option<f64>,
|
my_lon: Option<f64>,
|
||||||
|
|
||||||
|
/// Filter out spots from these callsign-UUID combinations (self spots, for example), comma-separated
|
||||||
|
#[arg(short = 't', long, value_delimiter = ',')]
|
||||||
|
filter: Option<String>,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Convert a byte slice into a hex-dump string for debugging purposes.
|
/// Convert a byte slice into a hex-dump string for debugging purposes.
|
||||||
@@ -450,6 +454,11 @@ fn handle_frame(frame: &AgwFrame, cli: &Cli, buffers: &mut BufferManager, loc_st
|
|||||||
if cli.ui_only && summary != "UI" {
|
if cli.ui_only && summary != "UI" {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Ignore frames where source matches one of the filtered strings
|
||||||
|
TODO finish this
|
||||||
|
if cli.filter {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// In non-debug mode, print the session line and any additional lines.
|
// In non-debug mode, print the session line and any additional lines.
|
||||||
if !cli.debug {
|
if !cli.debug {
|
||||||
|
|||||||
Reference in New Issue
Block a user