chore: use filename of argv0 in UsageInformation

This commit is contained in:
Jan committed 2024-09-23 23:05:04 +02:00
1 parent 32480a75eb
commit 5fee875495
10 files changed
+22 -12

No files matched your search

+2 -2
View File
@@ -139,9 +139,9 @@ LinkerArgs::LinkerArgs()
{
}
void LinkerArgs::PrintUsage()
void LinkerArgs::PrintUsage() const
{
UsageInformation usage("Linker.exe");
UsageInformation usage(m_argument_parser.GetExecutableName());
for (const auto* commandLineOption : COMMAND_LINE_OPTIONS)
{
+1 -1
View File
@@ -59,7 +59,7 @@ private:
/**
* \brief Prints a command line usage help text for the Linker tool to stdout.
*/
static void PrintUsage();
void PrintUsage() const;
static void PrintVersion();
void SetBinFolder(const char* argv0);