From 28eab6e482ea872a382cf1ae3a5983f1bc5eaeda Mon Sep 17 00:00:00 2001 From: Dan Mordechay Date: Sun, 18 Oct 2026 20:21:43 +0300 Subject: [PATCH] ldd-detect, ldd-scope: a value-taking option given last is a usage error When a value-taking option was the last argument, "shift 2" failed without a shift, and the argument loop ran forever. Examples are "ldd-detect.sh --root" and "ldd-scope.sh --out". Both scripts now check for the value before the shift. A missing value stops the script with "