diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-06-02 13:33:50 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-02 13:33:50 +0200 |
commit | f4d7e354367d78f36024255ca598431e3508005e (patch) | |
tree | 7a9aa5bfc4101c8c7bb8f60c6427657655735b6e /bin | |
parent | 0d1c99e9dc83e169e492363ffe21596131e793a6 (diff) |
raps2: Print error message when called with an invalid action
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/raps2 | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ given ($action) { when ('info') { $raps2->cmd_info(@args) } when ('list') { $raps2->cmd_list(@args) } when ('version') { say "raps2 version ${VERSION}" } + default { die "Unknown action: $action\n" } } __END__ |