mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
chore: use filename of argv0 in UsageInformation
This commit is contained in:
@ -151,9 +151,9 @@ UnlinkerArgs::UnlinkerArgs()
|
||||
{
|
||||
}
|
||||
|
||||
void UnlinkerArgs::PrintUsage()
|
||||
void UnlinkerArgs::PrintUsage() const
|
||||
{
|
||||
UsageInformation usage("Unlinker.exe");
|
||||
UsageInformation usage(m_argument_parser.GetExecutableName());
|
||||
|
||||
for (const auto* commandLineOption : COMMAND_LINE_OPTIONS)
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ private:
|
||||
/**
|
||||
* \brief Prints a command line usage help text for the Unlinker tool to stdout.
|
||||
*/
|
||||
static void PrintUsage();
|
||||
void PrintUsage() const;
|
||||
static void PrintVersion();
|
||||
|
||||
void SetVerbose(bool isVerbose);
|
||||
|
Reference in New Issue
Block a user