Skip to content

Commit

Permalink
Don't use argv[0] to get the executable path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kansattica committed Oct 3, 2019
1 parent a097d8c commit 521fadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private static string UnpackException<T>(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."),
Expand Down

0 comments on commit 521fadc

Please sign in to comment.