summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/dbris-m4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/dbris-m b/bin/dbris-m
index d219403..a45939f 100755
--- a/bin/dbris-m
+++ b/bin/dbris-m
@@ -126,7 +126,9 @@ else {
my $found;
for my $result ( $status->results ) {
if ( defined $result->eva ) {
- if ( lc( $result->name ) ne lc( $opt{station} ) ) {
+ if ( lc( $result->name ) ne lc( $opt{station} )
+ and not( $json_output or $raw_json_output ) )
+ {
say $result->name;
}
$opt{station} = $result;