mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 06:37:20 +02:00
Command Line Defaults
- Implemented support for rc.default.command. - Implemented support for assumed info command. - Implemented Arguments::inject_defaults to insert default arguments at just the right location. - Corrected CmdCustom handling of limit:page.
This commit is contained in:
parent
91e5a5e02e
commit
7faad5fb44
4 changed files with 54 additions and 44 deletions
|
@ -116,9 +116,12 @@ void Context::initialize (int argc, const char** argv)
|
|||
// Instantiate built-in column objects.
|
||||
Column::factory (columns);
|
||||
|
||||
// Finally categorize all arguments.
|
||||
// Categorize all arguments one more time.
|
||||
args.categorize ();
|
||||
|
||||
// Handle default command and assumed 'info' command.
|
||||
args.inject_defaults ();
|
||||
|
||||
// TODO Instantiate extension command objects.
|
||||
// TODO Instantiate default command object.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue