summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-19 20:06:46 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-19 20:06:46 +0200
commit9b8e639ceb2584818ebbd19e1c1d4a49c977835f (patch)
tree6e6f7df5054ca36c0ebd0ba2663bd814e75018cb
parent11ccc34a5b21f42a94143dac0f6e48cc32786b4b (diff)
efa-m: Support "FULL" occupancy
-rwxr-xr-xbin/efa-m9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/efa-m b/bin/efa-m
index b19b11e..d4e1263 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -339,12 +339,15 @@ sub show_results {
}
elsif ( $d->occupancy ) {
if ( $d->occupancy eq 'MANY_SEATS' ) {
- $output_line[3] = '_';
+ $output_line[3] = '.';
}
elsif ( $d->occupancy eq 'FEW_SEATS' ) {
- $output_line[3] = '*';
+ $output_line[3] = 'o';
}
elsif ( $d->occupancy eq 'STANDING_ONLY' ) {
+ $output_line[3] = '*';
+ }
+ elsif ( $d->occupancy eq 'FULL' ) {
$output_line[3] = '!';
}
else {
@@ -448,7 +451,7 @@ For each departure, it shows
=item * line,
-=item * expected occupation (from _ to !, if available), and
+=item * expected occupation (range . o * !, if available), and
=item * destination.