summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2015-02-21 18:55:29 -0700
committerAaron Ball <nullspoon@iohq.net>2015-02-21 18:55:29 -0700
commit20f2681374ab8d19af760f4d2fc3ebb0c4e547ae (patch)
tree8a8a74eb0a242e592628d3467ba3020619000113 /src
parent0f6330046ad32d9301c9818abbb789946a625330 (diff)
downloadnoteless-20f2681374ab8d19af760f4d2fc3ebb0c4e547ae.tar.gz
noteless-20f2681374ab8d19af760f4d2fc3ebb0c4e547ae.tar.xz
Enabled help command
Diffstat (limited to 'src')
-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