From 521fadc7c0911f43c714bdbcd37bb78e78ab8875 Mon Sep 17 00:00:00 2001 From: Grace H Date: Thu, 3 Oct 2019 09:48:25 -0700 Subject: [PATCH] Don't use argv[0] to get the executable path. --- Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console/Program.cs b/Console/Program.cs index 45181b8..b8c8157 100644 --- a/Console/Program.cs +++ b/Console/Program.cs @@ -95,7 +95,7 @@ private static string UnpackException(T ex) where T : Exception private static void PrintHelp(string programName) { Console.WriteLine("Welcome to Fluency, a functional programming language."); - Console.WriteLine("Usage: {0} [flags] [paths to files ending in .fl]", programName); + Console.WriteLine("Usage: fluency [flags] [paths to files ending in .fl]", programName); foreach (var pair in new[] { ("-h, --help", "You're lookin' at it."), ("-v, --verbose", "Run in verbose mode."),