mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +00:00
fmt: make uumain public
This commit is contained in:
parent
4738d4efcd
commit
f6a6305690
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ struct FmtOptions {
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn main() { os::set_exit_status(uumain(os::args())) }
|
fn main() { os::set_exit_status(uumain(os::args())) }
|
||||||
|
|
||||||
fn uumain(args: Vec<String>) -> int {
|
pub fn uumain(args: Vec<String>) -> int {
|
||||||
|
|
||||||
let opts = [
|
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."),
|
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."),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue