[PATCH 1/3] losetup: snip --verbose from bash-completion, and 'v' from options string
Benno Schulenberg <[email protected]> Tue, 9 Dec 2025 16:02:20 +0100
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
This should have been part of commit 7e27c81597 from two months ago. Signed-off-by: Benno Schulenberg <[email protected]> --- bash-completion/losetup | 1 - sys-utils/losetup.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.51.2