Prompt 'no history' message when no history file exists
This commit is contained in:
parent
5c6efffe4f
commit
f2336467a2
2 changed files with 2 additions and 1 deletions
|
@ -1,8 +1,8 @@
|
|||
# Release 0.1
|
||||
- Create history command
|
||||
- History compiler flag
|
||||
- Lowercase error messages
|
||||
- Automatically get owner token, from file history when setting password
|
||||
- Switch to `directories` instead of `app_dirs2`?
|
||||
- Allow file/directory archiving on upload
|
||||
- Allow unarchiving on download
|
||||
- Show a simplified command list when calling `ffsend` without arguments
|
||||
|
|
|
@ -43,6 +43,7 @@ impl<'a> History<'a> {
|
|||
// Get the history path, make sure it exists
|
||||
let history_path = matcher_main.history();
|
||||
if !history_path.is_file() {
|
||||
println!("No files in history");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue