From f6a6305690fc3c4d05d7b8d7492ca2ec49fff7ca Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 20 Jun 2014 01:03:04 +0200 Subject: [PATCH] fmt: make uumain public --- fmt/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt/fmt.rs b/fmt/fmt.rs index 206b89f26..b8e308101 100644 --- a/fmt/fmt.rs +++ b/fmt/fmt.rs @@ -59,7 +59,7 @@ struct FmtOptions { #[allow(dead_code)] fn main() { os::set_exit_status(uumain(os::args())) } -fn uumain(args: Vec) -> int { +pub fn uumain(args: Vec) -> int { let opts = [ getopts::optflag("c", "crown-margin", "First and second line of paragraph may have different indentations, in which case the first line's indentation is preserved, and each subsequent line's indentation matches the second line."),