Browse Source

[cli] Do not show the help if we have output an error previously.

pull/914/head
Joao Matos 9 years ago
parent
commit
d6b61f0401
  1. 2
      src/CLI/CLI.cs

2
src/CLI/CLI.cs

@ -263,8 +263,6 @@ namespace CppSharp
if (validOptions) if (validOptions)
gen.Run(); gen.Run();
else if (!helpShown)
ShowHelp();
} }
catch (Exception ex) catch (Exception ex)
{ {

Loading…
Cancel
Save