Prompt 'no history' message when no history file exists

This commit is contained in:
timvisee 2018-05-06 16:00:04 +02:00
parent 5c6efffe4f
commit f2336467a2
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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(());
}