Commit Diff


commit - dfc588a3a9b3cb24b2637f69980d7d57086f4c43
commit + 130b6108bcaff66e00134f8a621479a049c9ac87
blob - 5c697c38c260ba6b61054b1dbb3782d824a5a337
blob + a65a6e6d8d731b11faefe7c4fc14bd69a1aca5d9
--- gpm
+++ gpm
@@ -75,6 +75,7 @@ add() {
 }
 
 move() {
+	[ "$2" ] || usage
 	to="$(gpgbasename "$2")"
 	[ -e "$to" ] && err "file $to already exists; aborting"
 	mv "$(gpgbasename "$1")" "$to"