Skip to content

Commit

Permalink
Improved help and a little of wrong command 😄
Browse files Browse the repository at this point in the history
  • Loading branch information
adiultra committed Jun 1, 2016
1 parent b3ccfed commit e31ae57
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions help.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
TodX v0.01a, Build = Linux
===========================
Full Documentation available at http://todx.rtfd.io
Documentation at http://todx.rtfd.io , Licensed GPLv3

Commands Function
-------- --------
new / n Create a new list
open / o Open a List for further editing
append / a Append a todo to the opened list
mark / m Mark a todo with a symbol
view / v View the contents of opened list
status / s View the currently opened list
save / s Save the lists to datafile
quit / q Save and quit the program

help / -h View this Help
Commands Function
-------- --------
new / n Create a new list
open / o Open a List for further editing
append / a Append a todo to the opened list
mark / m Mark a todo with a symbol
view / v View the contents of opened list
status / stat View the currently opened list
search / grep Search the Data for string
delete / del Delete List, Todo or Tags
save / s Save the lists to datafile
quit / q Save and quit the program
> help / -h View this Help
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ int main() {
continue;

else if (result == 0) {
cout << "Internal Error" << endl;
cout << "Command not found, try `help` for help" << endl;
}

else if (result == -1) {
Expand Down

0 comments on commit e31ae57

Please sign in to comment.