mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
env: os.arg() returns Vec<~str> now
This commit is contained in:
parent
ce05187dac
commit
57affee103
1 changed files with 1 additions and 1 deletions
2
env/env.rs
vendored
2
env/env.rs
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue