mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01: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:
		@@ -819,7 +819,7 @@ bees_main(int argc, char *argv[])
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (optind + 1 != argc) {
 | 
						if (optind + 1 != argc) {
 | 
				
			||||||
		BEESLOGERR("Only one filesystem path per bees process");
 | 
							BEESLOGERR("Exactly one filesystem path required");
 | 
				
			||||||
		return EXIT_FAILURE;
 | 
							return EXIT_FAILURE;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user