]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/optutils: improve err_exclusive_options() output
authorKarel Zak <kzak@redhat.com>
Mon, 3 Nov 2025 12:41:31 +0000 (13:41 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 7 Nov 2025 10:10:34 +0000 (11:10 +0100)
commitabfce923bb66aa2a95264867e34ca5051031452b
tree018f46e426365148e19bf2859f4d04668c019721
parentb5e0a42a9bd2116cc9ed35d9d804a07603281543
include/optutils: improve err_exclusive_options() output

OLD:
$ losetup --remove --detach loop0
losetup: mutually exclusive arguments: --detach-all --all --set-capacity --detach --find --associated --remove
NEW:
$ losetup --remove --detach loop0
losetup: options --detach and --remove cannot be combined.

Suggested-by: Benno Schulenberg <bensberg@telfort.nl>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/optutils.h