summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.c b/main.c
index b2867c9..55ab340 100644
--- a/main.c
+++ b/main.c
@@ -10,10 +10,17 @@ Datum *evalline(Rune *);
Biobuf *stdin;
void
-main(void)
+main(int argc, char *argv[])
{
int off = 0;
stdin = Bfdopen(0, OREAD);
+ traceeval = 0;
+
+ ARGBEGIN{
+ case 't':
+ traceeval = 1;
+ break;
+ }ARGEND
while(!off){
Rune *input = prompt(L"\t");