diff --git a/SourceGen/AppForms/ProjectView.cs b/SourceGen/AppForms/ProjectView.cs
index b026445..60e2d46 100644
--- a/SourceGen/AppForms/ProjectView.cs
+++ b/SourceGen/AppForms/ProjectView.cs
@@ -263,6 +263,15 @@ namespace SourceGen.AppForms {
UpdateRecentLinks();
ShowNoProject();
+
+ ProcessCommandLine();
+ }
+
+ private void ProcessCommandLine() {
+ string[] args = Environment.GetCommandLineArgs();
+ if (args.Length == 2) {
+ DoOpenFile(Path.GetFullPath(args[1]));
+ }
}
private void InitCodeListView() {
diff --git a/SourceGen/PlatformSymbols.cs b/SourceGen/PlatformSymbols.cs
index 8a15605..5c07313 100644
--- a/SourceGen/PlatformSymbols.cs
+++ b/SourceGen/PlatformSymbols.cs
@@ -74,6 +74,7 @@ namespace SourceGen {
/// Loads platform symbols.
///
/// Relative pathname of file to open.
+ /// Full path to project directory.
/// Report of warnings and errors.
/// True on success (no errors), false on failure.
public bool LoadFromFile(string fileIdent, string projectDir, out FileLoadReport report) {