mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
TI-34: Make timew more user-friendly by adding --help and default output
- Thanks to Felix Wolfsteller.
This commit is contained in:
parent
2180139491
commit
dcc6fc8810
3 changed files with 6 additions and 1 deletions
1
AUTHORS
1
AUTHORS
|
@ -35,3 +35,4 @@ suggestions:
|
|||
lumbric
|
||||
Michel Crucifix
|
||||
Jonathon Bly
|
||||
Felix Wolfsteller
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
- TI-22 The 'day' chart crashes if there is an open interval and no others
|
||||
- TI-25 Work week not blocked off in charts
|
||||
(thanks to Jonathon Bly).
|
||||
- TI-34 Make timew more user-friendly by adding --help and default output
|
||||
(thanks to Felix Wolfsteller).
|
||||
- timew 0.9.5~alpha install bug
|
||||
(thanks to Gordon Ball).
|
||||
- Improved out-of-source build for themes, holidays
|
||||
|
|
|
@ -68,6 +68,7 @@ void initializeEntities (CLI& cli)
|
|||
cli.entity ("command", "gaps");
|
||||
cli.entity ("command", "get");
|
||||
cli.entity ("command", "help");
|
||||
cli.entity ("command", "--help");
|
||||
cli.entity ("command", "join");
|
||||
cli.entity ("command", "lengthen");
|
||||
cli.entity ("command", "move");
|
||||
|
@ -268,7 +269,8 @@ int dispatchCommand (
|
|||
*/
|
||||
else if (command == "gaps") status = CmdGaps (cli, rules, database );
|
||||
else if (command == "get") status = CmdGet (cli, rules, database );
|
||||
else if (command == "help") status = CmdHelp (cli, extensions);
|
||||
else if (command == "help" ||
|
||||
command == "--help") status = CmdHelp (cli, extensions);
|
||||
else if (command == "join") status = CmdJoin (cli, rules, database );
|
||||
else if (command == "lengthen") status = CmdLengthen (cli, rules, database );
|
||||
else if (command == "month") status = CmdChartMonth (cli, rules, database );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue