mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
if no source drectory given then exit quietly
This commit is contained in:
parent
8b61151866
commit
f9dde00431
@ -111,7 +111,10 @@ namespace RusticiSoftware.Translator.CSharp
|
||||
// Final argument is translation target
|
||||
remArgs = p.Parse (args);
|
||||
|
||||
|
||||
if (remArgs == null || remArgs.Count == 0)
|
||||
// No work
|
||||
Environment.Exit(0);
|
||||
|
||||
// Load .Net templates
|
||||
foreach (string r in cfg.NetRoot)
|
||||
doFile(r, ".xml", addNetTranslation, cfg.ExNetRoot);
|
||||
|
Loading…
x
Reference in New Issue
Block a user