about summary refs log tree commit diff stats
path: root/cpp/tangle/002main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tangle/002main.cc')
-rw-r--r--cpp/tangle/002main.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/tangle/002main.cc b/cpp/tangle/002main.cc
index 04d10c8d..aaa91e6f 100644
--- a/cpp/tangle/002main.cc
+++ b/cpp/tangle/002main.cc
@@ -1,14 +1,7 @@
-string Last_file = "";
 int main(int argc, const char* argv[]) {
-  Last_file = flag_value("--until", argc, argv);
   if (flag("test", argc, argv))
     return run_tests();
-  return tangle_files_in_cwd();
-}
-
-bool eof(istream& in) {
-  in.peek();
-  return in.eof();
+  return tangle(argc, argv);
 }
 
 bool flag(const string& flag, int argc, const char* argv[]) {