summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2015-02-21 18:55:58 -0700
committerAaron Ball <nullspoon@iohq.net>2015-02-21 18:55:58 -0700
commitcd6fdb269097a3f552d759b9a265049708c8f732 (patch)
treee6febddff8e905f42e44a7732ff5bb9dd1b71332 /src
parent20f2681374ab8d19af760f4d2fc3ebb0c4e547ae (diff)
downloadnoteless-cd6fdb269097a3f552d759b9a265049708c8f732.tar.gz
noteless-cd6fdb269097a3f552d759b9a265049708c8f732.tar.xz
Changed get_help function to void return
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 27e3610..a16d323 100644
--- a/src/main.c
+++ b/src/main.c
@@ -23,7 +23,7 @@
// #include "note.h"
// #include "path.h"
-int get_help() {
+void get_help() {
char out[] = "\nNoteless provides a simple command line interface for note "
"taking.\n\n"
"What makes this different than simply using a command line text editor is\n"
@@ -40,7 +40,6 @@ int get_help() {
" help Displays this help text\n"
" ls,list Lists all notes in note directory.\n";
printf("%s\n", out);
- return 0;
}
/**

Generated by cgit