mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
CLI
- Implemented ::getDataLocation. - Called ::getDataLocation from Context.
This commit is contained in:
parent
7845786398
commit
c8dfa8f7fd
3 changed files with 26 additions and 1 deletions
|
@ -166,7 +166,7 @@ int Context::initialize (int argc, const char** argv)
|
|||
// The data location, Context::data_dir, is determined from the assumed
|
||||
// location (~/.task), or set by data.location in the config file, or
|
||||
// overridden by rc.data.location on the command line.
|
||||
parser.getDataLocation (data_dir); // <-- rc.data.location=<location>
|
||||
cli.getDataLocation (data_dir); // <-- rc.data.location=<location>
|
||||
|
||||
override = getenv ("TASKDATA");
|
||||
if (override)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue