]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
losetup: snip --verbose from bash-completion, and 'v' from options string
authorBenno Schulenberg <bensberg@telfort.nl>
Tue, 9 Dec 2025 15:02:20 +0000 (16:02 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 17 Dec 2025 10:46:30 +0000 (11:46 +0100)
This should have been part of commit 7e27c81597 from two months ago.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
bash-completion/losetup
sys-utils/losetup.c

index 2d314c111edd0c3671fa302071cb0ef4b80c3b35..bf1591fbfc7d406c0d0519266cbe59aa4845ff08 100644 (file)
@@ -59,7 +59,6 @@ _losetup_module()
                                --read-only
                                --remove
                                --show
-                               --verbose
                                --direct-io
                                --loop-ref
                                --sector-size
index 7da0ebbd00aa86866399a60c8cc2f27c2aabf926..fe30d70daea9af4c64037a1f904bea4d50c16e49 100644 (file)
@@ -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);