Skip to content
Snippets Groups Projects
Commit ee52ea95 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Add accessor for Argv0

parent f1056e8b
No related branches found
No related tags found
No related merge requests found
......@@ -479,6 +479,12 @@ void CommandLineArguments::SetLineLength(unsigned int ll)
this->GenerateHelp();
}
//----------------------------------------------------------------------------
const char* CommandLineArguments::GetArgv0()
{
return this->Internals->Argv0.c_str();
}
//----------------------------------------------------------------------------
void CommandLineArguments::GenerateHelp()
{
......
......@@ -137,6 +137,11 @@ public:
void SetLineLength(unsigned int);
unsigned int GetLineLength();
/**
* Get the executable name (argv0)
*/
const char* GetArgv0();
protected:
void GenerateHelp();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment