summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c4
1 files 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 );

Generated by cgit