summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cd-tool.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp
index 6065ed0..6707e69 100644
--- a/cd-tool.cpp
+++ b/cd-tool.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cd-tool.cpp,v 1.34 2004-11-27 21:47:22 pixel Exp $ */
+/* $Id: cd-tool.cpp,v 1.35 2004-12-12 23:01:08 pixel Exp $ */
#define WIP
@@ -517,7 +517,7 @@ virtual int startup() throw (GeneralException) {
throw Exit(-1);
}
}
-
+
if (interactive)
L = start_full_lua();
else
@@ -554,6 +554,7 @@ virtual int startup() throw (GeneralException) {
while (optind < argc) {
todo = true;
L->load(&Input(argv[optind++]), !compile);
+ optind++;
}
/* Doh... */