Context
- Removed unused ::program member.
This commit is contained in:
@@ -134,9 +134,6 @@ int Context::initialize (int argc, const char** argv)
|
|||||||
// The parser needs all the help it can get.
|
// The parser needs all the help it can get.
|
||||||
setupEntities ();
|
setupEntities ();
|
||||||
|
|
||||||
// Initialize the command line parser.
|
|
||||||
program = (argc ? argv[0] : "task");
|
|
||||||
|
|
||||||
// Scan command line for 'rc:<file>' only.
|
// Scan command line for 'rc:<file>' only.
|
||||||
cli.initialize (argc, argv); // task arg0 arg1 ...
|
cli.initialize (argc, argv); // task arg0 arg1 ...
|
||||||
cli.getOverride (home_dir, rc_file); // <-- <file>
|
cli.getOverride (home_dir, rc_file); // <-- <file>
|
||||||
|
|||||||
@@ -83,7 +83,6 @@ private:
|
|||||||
void propagateDebug ();
|
void propagateDebug ();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
std::string program;
|
|
||||||
CLI cli;
|
CLI cli;
|
||||||
std::string home_dir;
|
std::string home_dir;
|
||||||
File rc_file;
|
File rc_file;
|
||||||
|
|||||||
Reference in New Issue
Block a user