From: Benno Schulenberg Date: Tue, 9 Dec 2025 15:02:20 +0000 (+0100) Subject: losetup: snip --verbose from bash-completion, and 'v' from options string X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263c14f5db070c4b9b4f64fe7dbdf3a8ca4b745b;p=thirdparty%2Futil-linux.git losetup: snip --verbose from bash-completion, and 'v' from options string This should have been part of commit 7e27c81597 from two months ago. Signed-off-by: Benno Schulenberg --- diff --git a/bash-completion/losetup b/bash-completion/losetup index 2d314c111..bf1591fbf 100644 --- a/bash-completion/losetup +++ b/bash-completion/losetup @@ -59,7 +59,6 @@ _losetup_module() --read-only --remove --show - --verbose --direct-io --loop-ref --sector-size diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index 7da0ebbd0..fe30d70da 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -751,7 +751,7 @@ int main(int argc, char **argv) if (loopcxt_init(&lc, 0)) err(EXIT_FAILURE, _("failed to initialize loopcxt")); - while ((c = getopt_long(argc, argv, "ab:cdDfhj:JlLno:O:PrvV", + while ((c = getopt_long(argc, argv, "ab:cdDfhj:JlLno:O:PrV", longopts, NULL)) != -1) { err_exclusive_options(c, longopts, excl, excl_st);