diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-21 17:55:03 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-21 17:55:03 +0100 |
commit | a632ae1e79e15454d6bb633f420e68d3a3b4f1eb (patch) | |
tree | c70a4ce25843da18fd47a46db3cdee0ab3e20c2d /bin | |
parent | 0c5496f0361916f2c5eec807863cf0966cad88c4 (diff) |
dbris: Add -m help option
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dbris | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |