From: Sergey Matveev Date: Wed, 10 Dec 2025 11:16:23 +0000 (+0300) Subject: Fail if unknown command specified X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=33c740e269f0960d662038fb0094e43516edb6ecd6e34b8edfc8547aab6412cc;p=dsc.git Fail if unknown command specified --- diff --git a/dsc b/dsc index 415f17f..19326db 100755 --- a/dsc +++ b/dsc @@ -402,6 +402,10 @@ switch [lindex $argv 0] { puts [file normalize $Stash/$opt] } } + default { + puts stderr "unknown cmd" + exit 1 + } } # vim: ft=tcl