Skip to content

Commit

Permalink
implement env::args
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio authored and anatol committed Apr 28, 2017
1 parent fca48e0 commit 3c2763a
Show file tree
Hide file tree
Showing 8 changed files with 1,519 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ main() {

local examples=(
_llseek
args
create
dup
format
Expand Down
7 changes: 7 additions & 0 deletions examples/args.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use std::env;

fn main() {
for arg in env::args() {
println!("{:?}", arg);
}
}
Loading

0 comments on commit 3c2763a

Please sign in to comment.