- Captures argv[0] for us in the shadow command.
This commit is contained in:
Paul Beckingham 2014-05-27 21:23:33 -04:00
parent ebca8e1282
commit 50bfb6881a

View file

@ -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