From 8bafcbab7ae3c99a5bedbacaf83ff3cbe2b93c05 Mon Sep 17 00:00:00 2001 From: Theophile Trunck Date: Wed, 10 Mar 2021 23:52:33 +0100 Subject: [PATCH] Update the binary usage to match busybox New tests in busybox are based on the fact that the function appears in the usage of the busybox binary. Because the tests are searching for an exact string they don't see the function defined by coreutils. By using the exact same string as busybox we can now also run the new busybox tests --- src/bin/coreutils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/coreutils.rs b/src/bin/coreutils.rs index b172edbd3..7fc494020 100644 --- a/src/bin/coreutils.rs +++ b/src/bin/coreutils.rs @@ -19,7 +19,7 @@ include!(concat!(env!("OUT_DIR"), "/uutils_map.rs")); fn usage(utils: &UtilityMap, name: &str) { println!("{} {} (multi-call binary)\n", name, VERSION); println!("Usage: {} [function [arguments...]]\n", name); - println!("Currently defined functions/utilities:\n"); + println!("Currently defined functions:\n"); #[allow(clippy::map_clone)] let mut utils: Vec<&str> = utils.keys().map(|&s| s).collect(); utils.sort_unstable();