From: Zygo Blaxell Date: Tue, 17 Dec 2024 03:30:34 +0000 (-0500) Subject: options: improve message when too many--or too few--path arguments given X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f0b8c623ce0b0ffeb2afd87feed243b82fc4cc1;p=bees 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 --- diff --git a/src/bees.cc b/src/bees.cc index 25788769..ffcd6c87 100644 --- a/src/bees.cc +++ b/src/bees.cc @@ -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; }