summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-02 13:33:50 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-02 13:33:50 +0200
commitf4d7e354367d78f36024255ca598431e3508005e (patch)
tree7a9aa5bfc4101c8c7bb8f60c6427657655735b6e /bin
parent0d1c99e9dc83e169e492363ffe21596131e793a6 (diff)
raps2: Print error message when called with an invalid action
Diffstat (limited to 'bin')
-rwxr-xr-xbin/raps21
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/raps2 b/bin/raps2
index 27dcdbc..c92fe0e 100755
--- a/bin/raps2
+++ b/bin/raps2
@@ -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__