Skip to content
Myr

Better error message

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by David Peter · parent 094516a · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/main.rs+1 added-1 removed
55 unmodified lines
56 }5758 let current_directory = Path::new(".");59 if !filesystem::is_dir(current_directory) {60 print_error_and_exit!("Could not get current directory.");60 print_error_and_exit!("Could not retrieve current directory (has it been deleted?).");61 }6263 // Get the search pattern64 let pattern = matches.value_of("pattern").unwrap_or("");
253 unmodified lines