summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNullspoon <nullspoon@iohq.net>2014-06-05 21:23:04 -0600
committerNullspoon <nullspoon@iohq.net>2014-06-05 21:23:04 -0600
commitcc12e7b96dcfafe455bcae65c9c2920717714ccb (patch)
treee4685916e0d32b9e9065f724514d19453079c2c7
parent5de310e867ab5031d590687f25acc3be50907b3e (diff)
downloadnoteless-cc12e7b96dcfafe455bcae65c9c2920717714ccb.tar.gz
noteless-cc12e7b96dcfafe455bcae65c9c2920717714ccb.tar.xz
Wrote more help text
Added help, ls, list, and find arguments to the helptext.
-rw-r--r--src/main.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3527fea..a2c5bb7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -24,11 +24,15 @@ using namespace std;
void get_help() {
string out = "Noteless provides a simple command line interface for note"
- "taking. It uses git to version notes as they are changed.\n\n"
- "What makes this different than simply using a command line text editor"
- "(aside from automatic versioning) is there is no need to type paths or file"
- "extensions. It handles all of the file management without having to change"
- "directories.";
+ "taking.\n\n"
+ "What makes this different than simply using a command line text editor is "
+ "there is no need to type paths or file extensions. It handles all of the "
+ "file management without having to changedirectories.\n\n"
+ "Arguments\n"
+ " help Displays this help text\n"
+ " ls,list Lists all notes in note directory.\n"
+ " find <term> Performs a case-insensitive search of all notes for the given"
+ " search term.\n";
cout << out << endl;
}

Generated by cgit