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:
Paul Beckingham 2011-06-26 01:21:11 -04:00
parent 91e5a5e02e
commit 7faad5fb44
4 changed files with 54 additions and 44 deletions

View file

@ -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.