Skip to content

Commit

Permalink
Updated help message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Claydough6 committed Jun 6, 2021
1 parent 316a482 commit 2e2b52e
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,31 @@
*/
void getHelp() {
cout << "pritority-list: quick CLI to-do list utility" << endl;
cout << "Usage: > [command] [args...]" << endl;
cout << endl;
cout << "\tDescription..." << endl;
cout << " add [task] [priority] [tags...]" << endl;
cout << " - adds task with given priority and tags to list" << endl;
cout << " remove [task]" << endl;
cout << " - removes task from list if it exists" << endl;
cout << " show [tags...]" << endl;
cout << " - prints out all tasks filtered by 'tag' (leave blank for all tasks)" << endl;
cout << " tag [task] [tags...]" << endl;
cout << " - adds tags to given task" << endl;
cout << " untag [task] [tags...]" << endl;
cout << " - removes tags from given task if they exist" << endl;
cout << " file [filename]" << endl;
cout << " - sets current working file to one specified (used for loading/saving)" << endl;
cout << " load" << endl;
cout << " - reads tasks from set file and populates current tasks" << endl;
cout << " save" << endl;
cout << " - writes current tasks out to set file (overwrites file!)" << endl;
cout << " quit" << endl;
cout << " - exits the application" << endl;
cout << " help" << endl;
cout << " - displays this message" << endl;
cout << endl;
cout << "Usage: priority-list [args] ... " << endl;
cout << "Priority values range from 0 (highest priority) to 9 (least priority)." << endl;
cout << "If no value is given, default priority of 9 is chosen." << endl;
}

/** parseCommand
Expand Down

0 comments on commit 2e2b52e

Please sign in to comment.