Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
7 additions
and
1 deletion.
-
+7
−1
src/main.rs
|
@@ -26,7 +26,13 @@ struct Arguments |
|
|
|
|
|
fn parse_arguments() ->Arguments |
|
|
{ |
|
|
let mut use_color: bool = true; |
|
|
let mut use_color: bool = { |
|
|
match std::env::var_os("NO_COLOR") { |
|
|
None => true, |
|
|
Some(val) => false, |
|
|
} |
|
|
}; |
|
|
|
|
|
let mut string: String = String::from(""); |
|
|
let mut count: i32 = 0; |
|
|
let mut all_directories: bool = false; |
|
|