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

Merge pull request #283 from ebfe/uutils

uutils: fix build
This commit is contained in:
Arcterus 2014-06-19 16:08:23 -07:00
commit 77e9d7bbae
3 changed files with 4 additions and 4 deletions

View file

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

View file

@ -1,4 +1,4 @@
#![crate_id(name="sync", vers="1.0.0", author="Alexander Fomin")] #![crate_id = "uusync#1.0.0"]
/* /*
* This file is part of the uutils coreutils package. * This file is part of the uutils coreutils package.
* *

View file

@ -42,7 +42,7 @@ extern crate rmdir;
extern crate seq; extern crate seq;
extern crate sleep; extern crate sleep;
extern crate sum; extern crate sum;
extern crate sync; extern crate uusync;
extern crate tac; extern crate tac;
extern crate tail; extern crate tail;
extern crate tee; extern crate tee;
@ -101,7 +101,7 @@ fn util_map() -> HashMap<&str, fn(Vec<String>) -> int> {
map.insert("seq", seq::uumain); map.insert("seq", seq::uumain);
map.insert("sleep", sleep::uumain); map.insert("sleep", sleep::uumain);
map.insert("sum", sum::uumain); map.insert("sum", sum::uumain);
map.insert("sync", sync::uumain); map.insert("sync", uusync::uumain);
map.insert("tac", tac::uumain); map.insert("tac", tac::uumain);
map.insert("tail", tail::uumain); map.insert("tail", tail::uumain);
map.insert("tee", tee::uumain); map.insert("tee", tee::uumain);