Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit 3907a8c

Browse files
author
icelayer
committed
Added modes warnings
1 parent bbe8051 commit 3907a8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ pub fn run(args: env::Args) {
1515
if config::DEV_MODE {
1616
base::log("WARNING! RUNNING IN DEV MODE", 3);
1717
}
18+
if config::SAFE_HISTORY {
19+
base::log("Safe history: enabled", 3);
20+
} else {
21+
base::log("Safe history: disabled", 3);
22+
}
1823
if status == 0 {
1924
base::log("Please enter passphrase: ", 5);
2025
let result = base::passphrase::check("Passphrase: ");
@@ -91,7 +96,8 @@ pub fn run(args: env::Args) {
9196
command::del::run();
9297
} else if command == "clear" {
9398
command::clear::run();
94-
continue;
99+
} else if command == "history" {
100+
command::history::run(correct_passphrase.clone());
95101
} else {
96102
base::log(&format!("Sorry, but {} is not an option", command), 3);
97103
}

0 commit comments

Comments
 (0)