1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

fmt: make uumain public

This commit is contained in:
Michael Gehring 2014-06-20 01:03:04 +02:00
parent 4738d4efcd
commit f6a6305690

View file

@ -59,7 +59,7 @@ struct FmtOptions {
#[allow(dead_code)]
fn main() { os::set_exit_status(uumain(os::args())) }
fn uumain(args: Vec<String>) -> int {
pub fn uumain(args: Vec<String>) -> 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."),