STDIN
- Removed the stdin reading feature, which has not been enabled, and is more problematic than it should be.
This commit is contained in:
@@ -129,10 +129,6 @@ int Context::initialize (int argc, const char** argv)
|
|||||||
|
|
||||||
parser.initialize (argc, argv); // task arg0 arg1 ...
|
parser.initialize (argc, argv); // task arg0 arg1 ...
|
||||||
|
|
||||||
// echo one two -- three | task zero --> task zero one two
|
|
||||||
// 'three' is left in the input buffer.
|
|
||||||
parser.appendStdin (); // echo stdin0 | task ...
|
|
||||||
|
|
||||||
// Process 'rc:<file>' command line override.
|
// Process 'rc:<file>' command line override.
|
||||||
parser.findOverrides (); // rc:<file> rc.<name>:<value>
|
parser.findOverrides (); // rc:<file> rc.<name>:<value>
|
||||||
parser.getOverrides (home_dir, rc_file); // <-- <file>
|
parser.getOverrides (home_dir, rc_file); // <-- <file>
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ int main (int argc, const char** argv)
|
|||||||
{
|
{
|
||||||
Parser parser;
|
Parser parser;
|
||||||
parser.initialize (argc, argv);
|
parser.initialize (argc, argv);
|
||||||
parser.appendStdin ();
|
|
||||||
parser.findOverrides ();
|
parser.findOverrides ();
|
||||||
|
|
||||||
// Read-only commands.
|
// Read-only commands.
|
||||||
|
|||||||
Reference in New Issue
Block a user