summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs5
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");