From 20f2681374ab8d19af760f4d2fc3ebb0c4e547ae Mon Sep 17 00:00:00 2001 From: Aaron Ball Date: Sat, 21 Feb 2015 18:55:29 -0700 Subject: Enabled help command --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 5f31893..27e3610 100644 --- a/src/main.c +++ b/src/main.c @@ -190,8 +190,8 @@ int main(int argc, char* argv[]) { // } else if( arg == "cat" ) { // string name = argv[i + 1]; // return cat_note( list, name ); - // } else if( arg == "help" ) { - // return get_help(); + } else if(strcmp(argv[1], "help") == 0) { + get_help(); // } else if( list.find_note_id( arg ) != -1 ) { // // Try to open the note if it exists // return list.edit( editor, arg ); -- cgit v1.2.3