mirror of
https://github.com/002Hub/IPass.git
synced 2026-09-01 07:07:21 +02:00
update ipass library
This commit is contained in:
Generated
+1037
-1
File diff suppressed because it is too large
Load Diff
+1
-1
Submodule library updated: d2c9adefdc...3326ee886b
+1
-1
@@ -203,7 +203,7 @@ fn get(args: &Vec<String>) {
|
|||||||
let filepath = &(ip_lib::get_ipass_folder()+name+".ipass");
|
let filepath = &(ip_lib::get_ipass_folder()+name+".ipass");
|
||||||
if std::path::Path::new(filepath).exists() {
|
if std::path::Path::new(filepath).exists() {
|
||||||
println!("Getting entry");
|
println!("Getting entry");
|
||||||
let entry: String = ip_lib::get_entry(name, ask_for_pw());
|
let entry: String = ip_lib::get_entry(name, ask_for_pw()).expect("could not read entry!");
|
||||||
let mut data = entry.split(";");
|
let mut data = entry.split(";");
|
||||||
println!("Username: '{}' Password: '{}'",data.next().unwrap(),data.next().unwrap());
|
println!("Username: '{}' Password: '{}'",data.next().unwrap(),data.next().unwrap());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user