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."),