mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context
- Captures argv[0] for us in the shadow command.
This commit is contained in:
parent
ebca8e1282
commit
50bfb6881a
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ int Context::initialize (int argc, const char** argv)
|
||||||
assumeLocations ();
|
assumeLocations ();
|
||||||
|
|
||||||
// Initialize the command line parser.
|
// Initialize the command line parser.
|
||||||
|
program = argv[0];
|
||||||
parser.initialize (argc, argv); // task arg0 arg1 ...
|
parser.initialize (argc, argv); // task arg0 arg1 ...
|
||||||
|
|
||||||
// echo one two -- three | task zero --> task zero one two
|
// echo one two -- three | task zero --> task zero one two
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue