summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/dbris8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/dbris b/bin/dbris
index e809ece..a11a5c8 100755
--- a/bin/dbris
+++ b/bin/dbris
@@ -158,6 +158,14 @@ if ( $date or $time ) {
$opt{datetime} = $dt;
}
+if ( $mots and $mots eq 'help' ) {
+ say "Supported modes of transmit (-m / --modes-of-transit):";
+ for my $mot ( sort keys %known_mot ) {
+ say $mot;
+ }
+ exit 0;
+}
+
if ($mots) {
# Passing unknown MOTs to the backend results in HTTP 422 Unprocessable Entity