diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..b1465cb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,2 @@ -fn main() { - println!("Hello, world!"); -} +let pattern = std::env::args().nth(1).expect("no pattern given"); +let path = std::env::args().nth(2).expect("no path given"); |