mirror of
https://github.com/GothenburgBitFactory/taskshell.git
synced 2025-08-19 00:43:10 +02:00
main: Removed use of string defines
This commit is contained in:
parent
5904f59fc0
commit
46cd598299
1 changed files with 7 additions and 2 deletions
|
@ -30,7 +30,6 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <i18n.h>
|
|
||||||
#include <shared.h>
|
#include <shared.h>
|
||||||
|
|
||||||
#ifdef HAVE_READLINE
|
#ifdef HAVE_READLINE
|
||||||
|
@ -56,7 +55,13 @@ static void welcome ()
|
||||||
std::cout << PACKAGE_STRING
|
std::cout << PACKAGE_STRING
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< STRING_COMMAND_USAGE
|
<< " 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";
|
<< "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue