Compare commits
No commits in common. "master" and "v0.1.3" have entirely different histories.
@ -7,13 +7,13 @@ fn main() {
|
||||
let args: Vec<String> = env::args().collect();
|
||||
|
||||
let conf = grep::Config::new(&args).unwrap_or_else(|err| {
|
||||
eprintln!("Problem parsing arguments: {}", err);
|
||||
println!("Problem parsing arguments: {}", err);
|
||||
process::exit(1);
|
||||
});
|
||||
//let filename = &conf.filename.clone();
|
||||
|
||||
if let Err(e) = grep::run(conf) {
|
||||
eprintln!("Big bad bada boom!\n{:?}", e);
|
||||
println!("Big bad bada boom!\n{:?}", e);
|
||||
//println!("Big bad bada boom!\n{:?}", e.kind());
|
||||
//println!("Big bad bada boom!\n{}", e.description());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user