mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
+1
-1
@@ -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."),
|
||||
|
||||
+1
-1
@@ -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.
|
||||
*
|
||||
|
||||
+2
-2
@@ -42,7 +42,7 @@ extern crate rmdir;
|
||||
extern crate seq;
|
||||
extern crate sleep;
|
||||
extern crate sum;
|
||||
extern crate sync;
|
||||
extern crate uusync;
|
||||
extern crate tac;
|
||||
extern crate tail;
|
||||
extern crate tee;
|
||||
@@ -101,7 +101,7 @@ fn util_map() -> HashMap<&str, fn(Vec<String>) -> int> {
|
||||
map.insert("seq", seq::uumain);
|
||||
map.insert("sleep", sleep::uumain);
|
||||
map.insert("sum", sum::uumain);
|
||||
map.insert("sync", sync::uumain);
|
||||
map.insert("sync", uusync::uumain);
|
||||
map.insert("tac", tac::uumain);
|
||||
map.insert("tail", tail::uumain);
|
||||
map.insert("tee", tee::uumain);
|
||||
|
||||
Reference in New Issue
Block a user