1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

env: os.arg() returns Vec<~str> now

This commit is contained in:
Michael Gehring 2014-05-16 12:03:46 +02:00
parent ce05187dac
commit 57affee103

2
env/env.rs vendored
View file

@ -53,7 +53,7 @@ fn print_env(null: bool) {
fn main() {
let args = std::os::args();
let prog = args[0].as_slice();
let prog = args.get(0).as_slice();
// to handle arguments the same way than GNU env, we can't use getopts
let mut opts = box options {