about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/scripts
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-24 15:28:32 +0100
committerSoispha <soispha@vhack.eu>2024-02-24 15:28:32 +0100
commitf3615c957bedfa8fed18f69a45a05f8f4e4b7dca (patch)
treefa0b270ff7d52ebd981fe91efa50424c1a4de3d8 /sys/nixpkgs/pkgs/scripts
parentfix(treewide): Add shell library import directive (diff)
downloadnixos-config-f3615c957bedfa8fed18f69a45a05f8f4e4b7dca.tar.gz
nixos-config-f3615c957bedfa8fed18f69a45a05f8f4e4b7dca.zip
fix(pkgs/scripts/aumo): Add a warning on wrong usage
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/scripts/source/apps/aumo.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh b/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh
index 81777041..626dd7a4 100755
--- a/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh
+++ b/sys/nixpkgs/pkgs/scripts/source/apps/aumo.sh
@@ -22,4 +22,6 @@ case "$1" in
 "unmount" | "umount")
     unmounting
     ;;
+*)
+    die "Usage: $NAME mount|unmount"
 esac