aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index 6bf12164..3e99a1e2 100644
--- a/options.c
+++ b/options.c
@@ -267,6 +267,7 @@ struct query *ctl; /* option record to be initialized */
break;
case 'q':
quitmode = TRUE;
+ quitind = optind;
break;
case 'L':
rctl->logfile = prependdir (optarg, currentwd);