Output list of uutils functions in a way that busybox's 'runtest' understands

This commit is contained in:
Brian Anderson 2014-06-01 11:30:05 -07:00
parent 91da25ff2b
commit c31e36a994

View file

@ -114,7 +114,7 @@ fn usage(cmap: &HashMap<&str, fn(Vec<String>)>) {
println!("");
println!("Usage:");
println!(" {} [util [arguments...]", NAME);
println!("Utils:");
println!("Currently defined functions:");
let mut utils: Vec<&str> = cmap.keys().map(|&s| s).collect();
utils.sort();
for util in utils.iter() {