1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25:45 +02:00

options: improve message when too many--or too few--path arguments given

Running bees with no arguments complains about "Only one" path argument.
Replace this with "Exactly one" which uses similar terminology to other
btrfs tools.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2024-12-16 22:30:34 -05:00
parent 74296c644a
commit 1f0b8c623c

View File

@ -819,7 +819,7 @@ bees_main(int argc, char *argv[])
}
if (optind + 1 != argc) {
BEESLOGERR("Only one filesystem path per bees process");
BEESLOGERR("Exactly one filesystem path required");
return EXIT_FAILURE;
}