Commit graph

27 commits

Author SHA1 Message Date
Michael Gehring
bb1edec74e dirname, basename, env, head, id, sync, touch: exit with status 1 on invalid arguments 2014-06-23 09:35:39 +02:00
Brian Anderson
bad19f6016 Remove tail return statements.
Per review feedback.
2014-06-11 21:48:38 -07:00
Brian Anderson
0ee4fb0576 Handle exit status more consistently. #211
This changes the `uumain` functions to return the exit code as `int`.

It does not eliminate all calls to `os::set_exit_status` and `libc::exit`.
2014-06-11 21:48:38 -07:00
Brian Anderson
2bf64159e0 Update to nightly 2014-06-02 14:07:53 -07:00
Michael Gehring
1bac39d509 silence dead code warnings in multicall build 2014-05-29 08:58:06 +02:00
Michael Gehring
13f01e4c11 add uutils multicall binary 2014-05-28 14:22:52 +02:00
Michael Gehring
9b3bfed359 to_{strbuf,owned} -> to_string 2014-05-28 08:33:39 +02:00
Michael Gehring
1bf7569084 StrBuf was renamed to String 2014-05-25 11:20:52 +02:00
Michael Gehring
0ce3f0f4e1 Adapt to removal of ~str from libstd. 2014-05-23 14:28:40 +02:00
Michael Gehring
2252b1f28e env: adapt to new Process API 2014-05-16 12:04:03 +02:00
Michael Gehring
57affee103 env: os.arg() returns Vec<~str> now 2014-05-16 12:03:46 +02:00
Michael Gehring
7a06ae081d Update to box/Box<T> syntax. 2014-05-09 03:04:58 +02:00
Arcterus
4e8703e04f Fix everything but md5sum (blocked on rust-crypto) for latest Rust 2014-04-25 22:03:08 -07:00
Arcterus
e898d37736 Update for latest Rust 2014-03-31 09:40:21 -07:00
Alan Andrade
1dc2cd3a0f Fix master by comparing against slices, not ~ 2014-03-13 16:12:28 -07:00
Arcterus
8cf617d08f Fix for latest Rust 2014-02-26 19:35:50 -08:00
Arcterus
b608664135 Update for latest Rust 2014-02-23 13:31:51 -08:00
Arcterus
384d710790 Update most utilities for latest Rust 2014-02-04 19:39:17 -08:00
Jordi Boggiano
8c7e8c58c3 Reformat code 2014-01-07 01:09:30 +01:00
Heather
518477b1f5 link -> crate_id, link is deprecated 2013-12-26 14:49:31 +04:00
Heather
5f916b88cc process status returns Option now 2013-12-15 12:25:26 +04:00
KokaKiwi
96346761ab Fix build. 2013-11-28 00:14:19 +01:00
Jordi Boggiano
25297ec2b3 std::rt::io -> std::io 2013-11-13 12:17:41 +01:00
Jordi Boggiano
074b375034 Use new ProcessExit enum 2013-11-12 10:57:48 +01:00
Jordi Boggiano
ed8f7d015f Tweaks for consistency with other commands, added support for -u, -V and -h, refs #4 2013-10-25 18:46:18 +02:00
Léo Testard
cd32db7afa fix option parsing 2013-10-24 18:05:43 +02:00
Léo Testard
4f7b7c80a5 Add env util 2013-10-22 20:25:38 +02:00