mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-07-07 20:06:42 +02:00
Help: Improved the command summary in the help command
This commit is contained in:
parent
b0e8dfa290
commit
96554e913f
2 changed files with 11 additions and 10 deletions
11
src/help.cpp
11
src/help.cpp
|
@ -31,7 +31,16 @@
|
|||
int cmdHelp ()
|
||||
{
|
||||
std::cout << "\n"
|
||||
<< "Run 'man tasksh' from your shell prompt.\nRun '! man tasksh' from inside tasksh.\n"
|
||||
<< " Commands:\n"
|
||||
<< " tasksh> list Or any other Taskwarrior command\n"
|
||||
<< " tasksh> review [N] Task review session, with optional cutoff after N tasks\n"
|
||||
<< " tasksh> exec ls -al Any shell command. May also use '!ls -al'\n"
|
||||
<< " tasksh> help Tasksh help\n"
|
||||
<< " tasksh> diagnostics Tasksh diagnostics\n"
|
||||
<< " tasksh> quit End of session. May also use 'exit'\n"
|
||||
<< "\n"
|
||||
<< "Run 'man tasksh' from your shell prompt.\n"
|
||||
<< "Run '! man tasksh' from inside tasksh.\n"
|
||||
<< "\n";
|
||||
return 0;
|
||||
}
|
||||
|
|
10
src/main.cpp
10
src/main.cpp
|
@ -54,15 +54,7 @@ static void welcome ()
|
|||
{
|
||||
std::cout << PACKAGE_STRING
|
||||
<< "\n"
|
||||
<< "\n"
|
||||
<< " Commands:\n"
|
||||
<< " tasksh> review [N] Task review session, with optional cutoff after N tasks\n"
|
||||
<< " tasksh> list Or any other Taskwarrior command\n"
|
||||
<< " tasksh> diagnostics Tasksh diagnostics\n"
|
||||
<< " tasksh> help Tasksh help\n"
|
||||
<< " tasksh> exec ls -al Any shell command. May also use '!ls -al'\n"
|
||||
<< " tasksh> quit End of session. May also use 'exit'\n"
|
||||
<< "\n";
|
||||
<< cmdHelp ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue