diff options
Diffstat (limited to 'main/src/addins/TextTemplating/TextTransform')
-rw-r--r-- | main/src/addins/TextTemplating/TextTransform/TextTransform.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/src/addins/TextTemplating/TextTransform/TextTransform.cs b/main/src/addins/TextTemplating/TextTransform/TextTransform.cs index d1b061d07c..e4f239e320 100644 --- a/main/src/addins/TextTemplating/TextTransform/TextTransform.cs +++ b/main/src/addins/TextTemplating/TextTransform/TextTransform.cs @@ -37,6 +37,17 @@ namespace Mono.TextTemplating const string name ="TextTransform.exe"; public static int Main (string[] args) + {
+ try {
+ return MainInternal(args);
+ }
+ catch (Exception e) {
+ Console.Error.WriteLine(e);
+ return -1;
+ }
+ } + + private static int MainInternal (string[] args) { if (args.Length == 0) { ShowHelp (true); |