Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Js41637 committed Sep 7, 2024
1 parent a880a74 commit 26a1fcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DataTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static void Main() {
}

if (extractFlags.OutputPath.StartsWith("{") || extractFlags.OutputPath.EndsWith("}")) {
Logger.Error("Core", "Do not include {{ or }} in the output directory you pass to the tool. The path should be surrounded with quotation marks only");
Logger.Error("Core", "Do not include { or } in the output directory you pass to the tool. The path should be surrounded with quotation marks only");
return;
}
}
Expand Down Expand Up @@ -189,6 +189,8 @@ private static void InitFlags(HashSet<Type> tools) {
FlagParser.LoadArgs();

Flags = FlagParser.Parse<ToolFlags>(full => PrintHelp(full, tools));
if (Flags == null)
return;

if (Flags.Debug) {
Logger.ShowDebug = true;
Expand Down

0 comments on commit 26a1fcb

Please sign in to comment.