diff --git a/Cargo.toml b/Cargo.toml index a218feb..8a436ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ipass" -version = "0.3.0" +version = "0.3.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 32597c4..ee5ce3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # IPass -![IPass logo](../blob/master/IPass_logo.png?raw=true) +![IPass logo](../master/IPass_logo.png?raw=true) ## Secure your passwords, secure your life, with IPass. diff --git a/src/main.rs b/src/main.rs index d6269a7..2b11219 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,10 +104,14 @@ fn help_message(args: &Vec) { } fn list() { - let paths = std::fs::read_dir(utils::get_ipass_folder()).unwrap(); + let mut paths = std::fs::read_dir(utils::get_ipass_folder()).unwrap(); let mut has_entry:bool = false; + println!("Total entries: {}\n", paths.count()); + + paths = std::fs::read_dir(utils::get_ipass_folder()).unwrap(); + for path in paths { has_entry = true; println!("Entry: \"{}\"", path.unwrap().file_name().into_string().unwrap().replace(".ipass", ""));