mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
chore: use filename of argv0 in UsageInformation
This commit is contained in:
@ -118,9 +118,9 @@ ZoneCodeGeneratorArguments::ZoneCodeGeneratorArguments()
|
||||
m_verbose = false;
|
||||
}
|
||||
|
||||
void ZoneCodeGeneratorArguments::PrintUsage()
|
||||
void ZoneCodeGeneratorArguments::PrintUsage() const
|
||||
{
|
||||
UsageInformation usage("ZoneCodeGenerator.exe");
|
||||
UsageInformation usage(m_argument_parser.GetExecutableName());
|
||||
|
||||
for (const auto* commandLineOption : COMMAND_LINE_OPTIONS)
|
||||
{
|
||||
|
@ -12,7 +12,7 @@ class ZoneCodeGeneratorArguments
|
||||
/**
|
||||
* \brief Prints a command line usage help text for the Unlinker tool to stdout.
|
||||
*/
|
||||
static void PrintUsage();
|
||||
void PrintUsage() const;
|
||||
static void PrintVersion();
|
||||
|
||||
public:
|
||||
|
Reference in New Issue
Block a user