Browse Source

Prompt 'no history' message when no history file exists

timvisee 7 years ago
parent
commit
f2336467a2
2 changed files with 2 additions and 1 deletions
  1. 1 1
      ROADMAP.md
  2. 1 0
      cli/src/action/history.rs

+ 1 - 1
ROADMAP.md

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

+ 1 - 0
cli/src/action/history.rs

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