From d5e732b47dcd619877c2115c4befef2b289f2f98 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 31 Oct 2014 20:07:45 -0400 Subject: [PATCH] CLI - Added debug.parser=3 support to ::analyze. --- src/CLI.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CLI.cpp b/src/CLI.cpp index 3fafbf5d7..6c3d99d87 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -317,6 +317,9 @@ void CLI::analyze (bool parse /* = true */) } } + if (context.config.getInteger ("debug.parser") >= 3) + context.debug (context.cli.dump ("CLI::analyze start")); + // Find argument types. aliasExpansion (); findOverrides (); @@ -343,6 +346,9 @@ void CLI::analyze (bool parse /* = true */) decomposeModTags (); decomposeModSubstitutions (); } + + if (context.config.getInteger ("debug.parser") >= 3) + context.debug ("CLI::analyze end"); } ////////////////////////////////////////////////////////////////////////////////