diff options
author | Aaron Ball <nullspoon@iohq.net> | 2015-02-21 18:55:29 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@iohq.net> | 2015-02-21 18:55:29 -0700 |
commit | 20f2681374ab8d19af760f4d2fc3ebb0c4e547ae (patch) | |
tree | 8a8a74eb0a242e592628d3467ba3020619000113 | |
parent | 0f6330046ad32d9301c9818abbb789946a625330 (diff) | |
download | noteless-20f2681374ab8d19af760f4d2fc3ebb0c4e547ae.tar.gz noteless-20f2681374ab8d19af760f4d2fc3ebb0c4e547ae.tar.xz |
Enabled help command
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ); |