summaryrefslogtreecommitdiff
path: root/cli/cli.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.cxx')
-rw-r--r--cli/cli.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/cli.cxx b/cli/cli.cxx
index 3d54452..3a38782 100644
--- a/cli/cli.cxx
+++ b/cli/cli.cxx
@@ -56,4 +56,10 @@ int main (int argc, char* argv[])
//
return 1;
}
+ catch (generator::failed const&)
+ {
+ // Diagnostics has already been issued by the generator.
+ //
+ return 1;
+ }
}