timew: Moved more code inside the try block

This commit is contained in:
Paul Beckingham 2016-05-26 23:40:02 -04:00
parent 11315e4f56
commit c67b09f721

View file

@ -43,6 +43,8 @@ int main (int argc, const char** argv)
if (lightweightVersionCheck (argc, argv))
return status;
try
{
// Add entities so that command line tokens such as 'help' are recognized as
// commands.
CLI cli;
@ -60,8 +62,6 @@ int main (int argc, const char** argv)
commandLine += quoteIfNeeded (argv[i]);
}
try
{
// Scan command line.
cli.analyze ();