CLI/CmdCalendar
- When the binary is named (or symlinked to) 'cal', then CLI::_args[0] must be clobbered, and restored for subsequent commands.
This commit is contained in:
@@ -411,6 +411,12 @@ void CLI::analyze (bool parse /* = true */, bool strict /* = false */)
|
||||
}
|
||||
|
||||
_args.push_back (a);
|
||||
|
||||
if (a.hasTag ("CALENDAR"))
|
||||
{
|
||||
A cal ("argCal", "calendar");
|
||||
_args.push_back (cal);
|
||||
}
|
||||
}
|
||||
|
||||
if (context.config.getInteger ("debug.parser") >= 3)
|
||||
|
||||
Reference in New Issue
Block a user