forked from n6cta/mwtchahrd
Snapshot.
This commit is contained in:
@@ -87,6 +87,10 @@ struct Cli {
|
||||
#[arg(short = 'x', long, allow_negative_numbers = true)]
|
||||
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.
|
||||
@@ -450,6 +454,11 @@ fn handle_frame(frame: &AgwFrame, cli: &Cli, buffers: &mut BufferManager, loc_st
|
||||
if cli.ui_only && summary != "UI" {
|
||||
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.
|
||||
if !cli.debug {
|
||||
|
||||
Reference in New Issue
Block a user