]> git.hungrycats.org Git - bees/commitdiff
options: improve message when too many--or too few--path arguments given
authorZygo Blaxell <bees@furryterror.org>
Tue, 17 Dec 2024 03:30:34 +0000 (22:30 -0500)
committerZygo Blaxell <bees@furryterror.org>
Sat, 4 Jan 2025 04:15:37 +0000 (23:15 -0500)
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>
src/bees.cc

index 2578876985e5e46a7844697d6186528ccb73df61..ffcd6c87c0276f75d573df95bc5687b89ca2c7e4 100644 (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;
        }