From 1f0b8c623ce0b0ffeb2afd87feed243b82fc4cc1 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Mon, 16 Dec 2024 22:30:34 -0500 Subject: [PATCH] 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 --- src/bees.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bees.cc b/src/bees.cc index 2578876..ffcd6c8 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; }