From f867bede10e32ace2b3eff172cfa2075e6431ff6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 23 Aug 2024 15:37:33 +0200 Subject: fix(pkgs/stamp): Recognize unknown commands --- pkgs/by-name/st/stamp/stamp.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs') diff --git a/pkgs/by-name/st/stamp/stamp.sh b/pkgs/by-name/st/stamp/stamp.sh index 4c594767..15bf887a 100755 --- a/pkgs/by-name/st/stamp/stamp.sh +++ b/pkgs/by-name/st/stamp/stamp.sh @@ -73,6 +73,8 @@ while [ "$#" -gt 0 ] && [ "$run" = true ]; do # The files should now be in $@ run=false ;; + *) + die "Unknown command: $1" esac done -- cgit 1.4.1