summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-iris27
1 files changed, 19 insertions, 8 deletions
diff --git a/bin/db-iris b/bin/db-iris
index 6e4accb..a362ccc 100755
--- a/bin/db-iris
+++ b/bin/db-iris
@@ -82,14 +82,16 @@ if ($time) {
for my $efield (@edata_pre) {
given ($efield) {
- when ('d') { $edata{delay} = 1 }
- when ('D') { $edata{delays} = 1 }
- when ('f') { $edata{fullroute} = 1 }
- when ('m') { $edata{messages} = 1 }
- when ('q') { $edata{qos} = 1 }
- when ('r') { $edata{route} = 1 }
- when ('t') { $edata{times} = 1 }
- default { $edata{$efield} = 1 }
+ when ('a') { $edata{additional} = 1 }
+ when ('c') { $edata{canceled} = 1 }
+ when ('d') { $edata{delay} = 1 }
+ when ('D') { $edata{delays} = 1 }
+ when ('f') { $edata{fullroute} = 1 }
+ when ('m') { $edata{messages} = 1 }
+ when ('q') { $edata{qos} = 1 }
+ when ('r') { $edata{route} = 1 }
+ when ('t') { $edata{times} = 1 }
+ default { $edata{$efield} = 1 }
}
}
@@ -247,6 +249,15 @@ sub display_result {
print "\n";
}
+ if ( $edata{additional} and $d->additional_stops ) {
+ printf( "Zusätzlicher Halt in: %s\n",
+ join( q{, }, $d->additional_stops ) );
+ }
+
+ if ( $edata{canceled} and $d->canceled_stops ) {
+ printf( "Ohne Halt in: %s\n", join( q{, }, $d->canceled_stops ) );
+ }
+
if ( $edata{fullroute} ) {
print "\n" . join( "\n", $d->route ) . "\n\n";
}