aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 050a296..5523073 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -58,9 +58,7 @@ fn main() {
58 ), 58 ),
59 } 59 }
60 } else if matches.is_present("list") { 60 } else if matches.is_present("list") {
61 let app = App::load_state(); 61 for h in App::load_state().list_habits() {
62 let _habit_names = app.list_habit();
63 for h in _habit_names {
64 println!("{}", h); 62 println!("{}", h);
65 } 63 }
66 } else { 64 } else {